ItemCompleteUseAfterEventSignal Class

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

Methods

subscribe

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

Adds a callback that will be called when a chargeable item completes charging.

Parameters

Returns (arg: ItemCompleteUseAfterEvent) => void

Important

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

unsubscribe

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

Removes a callback from being called when a chargeable item completes charging.

Parameters

Important

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