Queryable class used to receive Query's from the network and handle Reply's created by Session.declare_queryable

Constructors

Methods

Constructors

  • Returns a Queryable Note! : user must use declare_queryable on a session

    Parameters

    • remote_queryable: RemoteQueryable
    • callback_queryable: boolean

    Returns Queryable

Methods

  • receive next Query of this Queryable

    Returns Promise<void | Query>

    Promise <Query | void>

  • Undeclares Queryable

    Returns Promise<void>

    void