map.apps Bundle APIs 4.20.0
    Preparing search index...

    Interface ObserverGroup

    ObserverGroups contain a series of handles.

    interface ObserverGroup {
        add(...handles: Handle[]): ObserverGroup;
        bind(...args: unknown[]): ObserverGroup;
        clean(): ObserverGroup;
        count(): number;
        isEmpty(): boolean;
        onRebind(rebind: RebindCallback): ObserverGroup;
        remove(...handles: Handle[]): ObserverGroup;
    }
    Index

    Methods

    • Invokes the rebind callback.

      Parameters

      • ...args: unknown[]

      Returns ObserverGroup

    • The amount of registered observers.

      Returns number

    • True if no observer is registered.

      Returns boolean