• JMap.Event.Server.activate

    Activate the listener.

    If the listener is already active, do nothing.

    If the listener is inactive, it will be reactivated and will be called again ...

    Parameters

    • listenerId: string

      The listener id

    Returns void

    Example

    // activate the listener "my-server-listener"
    JMap.Event.Server.activate("my-server-listener")