SubscriptionManager class

Constructors

SubscriptionManager(SpacetimeDbConnection _connection, {OfflineStorage? offlineStorage})

Methods

callProcedure(String procedureName, Uint8List args, {int requestId = 0}) → void
clearAllPendingMutations() Future<void>
clearPendingMutation(String requestId) Future<void>
dispose() Future<void>
getPendingMutations() Future<List<PendingMutation>>
loadFromOfflineCache() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
oneOffQuery(Uint8List messageId, String query) → void
subscribe(List<String> queries) Future<void>
subscribeMulti(List<String> queries, {int requestId = 0, int queryId = 0}) → void
subscribeSingle(String query, {int requestId = 0, int queryId = 0}) → void
syncPendingMutations() Future<void>
toString() String
A string representation of this object.
inherited
unsubscribe(int queryId, {int requestId = 0}) → void
unsubscribeMulti(int queryId, {int requestId = 0}) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited