• JMap.Event.Query.on.success

    This event is triggered when a query has been processed, after the call to the server has been made.

    Parameters

    • listenerId: string

      Your listener id (must be unique)

    • fn: ((params) => void)

      Your listener function

    Returns void

    Example

    // log a message in the console once the server has responded
    JMap.Event.Query.on.success(
    "custom-query-success",
    params => console.log("A query to the server has been done", params)
    )