Class: ItemReleaseUseAfterEventSignal
Manages callbacks that are connected to the releasing of charging for a chargeable item.
Constructors
new ItemReleaseUseAfterEventSignal()
private
new ItemReleaseUseAfterEventSignal():ItemReleaseUseAfterEventSignal
Returns
ItemReleaseUseAfterEventSignal
Methods
subscribe()
subscribe(
callback
): (arg
) =>void
Parameters
Parameter | Type |
---|---|
callback | (arg ) => void |
Returns
Function
Parameters
Parameter | Type |
---|---|
arg | ItemReleaseUseAfterEvent |
Returns
void
Remarks
Adds a callback that will be called when a chargeable item is released from charging.
This function can't be called in read-only mode.
unsubscribe()
unsubscribe(
callback
):void
Parameters
Parameter | Type |
---|---|
callback | (arg ) => void |
Returns
void
Remarks
Removes a callback from being called when a chargeable item is released from charging.
This function can't be called in read-only mode.