ListenOptions interface
Stay organized with collections
Save and categorize content based on your preferences.
An options objects that can be used to customize a listener.
Signature:
export declare interface ListenOptions
Properties
Property |
Type |
Description |
onlyOnce |
boolean |
Whether to remove the listener after its first invocation. |
ListenOptions.onlyOnce
Whether to remove the listener after its first invocation.
Signature:
readonly onlyOnce?: boolean;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-07-22 UTC.
[null,null,["Last updated 2022-07-22 UTC."],[],[],null,["An options objects that can be used to customize a listener.\n\n**Signature:** \n\n export declare interface ListenOptions \n\nProperties\n\nListenOptions.onlyOnce\n\nWhether to remove the listener after its first invocation.\n\n**Signature:** \n\n readonly onlyOnce?: boolean;"]]