Listeners

subscribe_to_market

Subscribe a listener to a betting market.

Apis.instance().db_api().exec( "subscribe_to_market", [updateListener, "1.3.0", "1.3.19"])
  • updateListener: An object of type updateListener.

  • 1.3.0: Start version.

  • 1.3.19: End version.

unsubscribe_from_market

Unsubscribe a listener from a betting market.

Apis.instance().db_api().exec( "unsubscribe_from_market", [updateListener, "1.3.0", "1.3.19"])
  • updateListener: An object of type updateListener.

  • 1.3.0: Start version.

  • 1.3.19: End version.