JS API Reference
Interface: ResourceRentalEvents
resource-rental/resource-rental.ResourceRentalEvents
Table of contents
Properties
Properties
finalized
• finalized: () => void
Emitted when the rental process is fully finalized
Type declaration
▸ (): void
Returns
void
Defined in
src/resource-rental/resource-rental.ts:14
exeUnitCreated
• exeUnitCreated: (activity
: Activity
) => void
Emitted when ExeUnit is successfully created and initialised
Type declaration
▸ (activity
): void
Parameters
Name | Type |
---|---|
activity | Activity |
Returns
void
Defined in
src/resource-rental/resource-rental.ts:17
exeUnitDestroyed
• exeUnitDestroyed: (activity
: Activity
) => void
Emitted when the ExeUnit is successfully destroyed
Type declaration
▸ (activity
): void
Parameters
Name | Type |
---|---|
activity | Activity |
Returns
void
Defined in
src/resource-rental/resource-rental.ts:20
error
• error: (error
: Error
) => void
Emitted when there is an error while creating or destroying the ExeUnit
Type declaration
▸ (error
): void
Parameters
Name | Type |
---|---|
error | Error |
Returns
void