Ditto 4.8.1-rc.1
Loading...
Searching...
No Matches
ditto::LiveQueryCtx Struct Reference

Public Member Functions

void on_stop ()
 

Static Public Member Functions

static Arc< LiveQueryCtxnew_arc (std::shared_ptr< DittoHandleWrapper > const &ditto_handle_wrapper, std::string query, nlohmann::json query_args, std::string coll_name, std::shared_ptr< OrderBy > const &order_by, int32_t limit, uint32_t offset, LiveQueryAvailability_t availability, std::unique_ptr< Subscription > &&subscription, LiveQueryEventWithNextSignalCallback &&event_callback)
 

Public Attributes

std::shared_ptr< DittoHandleWrapper > ditto_handle_wrapper
 
std::string query
 
json query_args
 
std::string coll_name
 
std::unique_ptr< Subscriptionsubscription
 
LiveQueryEventWithNextSignalCallback event_callback
 
int64_t id
 
std::function< void()> signal_next