ListenOptions interface

An options objects that can be used to customize a listener.

Signature:

exportdeclareinterfaceListenOptions

Properties

PropertyTypeDescription
onlyOncebooleanWhether to remove the listener after its first invocation.

ListenOptions.onlyOnce

Whether to remove the listener after its first invocation.

Signature:

readonlyonlyOnce?:boolean;