ItemReleaseUseAfterEventSignal Class

Manages callbacks that are connected to the releasing of charging for a chargeable item.

Methods

subscribe

subscribe(callback: (arg: ItemReleaseUseAfterEvent) => void): (arg: ItemReleaseUseAfterEvent) => void

Adds a callback that will be called when a chargeable item is released from charging.

Parameters

Returns (arg: ItemReleaseUseAfterEvent) => void

Important

This function can't be called in read-only mode.

unsubscribe

unsubscribe(callback: (arg: ItemReleaseUseAfterEvent) => void): void

Removes a callback from being called when a chargeable item is released from charging.

Parameters

Important

This function can't be called in read-only mode.