DartStreamMachineClient class
Constructors
- DartStreamMachineClient({required DartStreamConfig config, required String clientId, required String clientSecret, String? tenantId, required String projectId, Client? httpClient, DateTime now()?})
- DartStreamMachineClient.fromEnvironment({DartStreamConfig? config})
-
factory
Properties
Methods
-
close(
) → void -
listFeatureFlags(
) → Future< List> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
run<
T> (Future< T> operation(DartStreamClient client, DartStreamSession session)) → Future<T> - Call before each operation for automatic renewal. Mutations are never automatically replayed after an ambiguous failure.
-
session(
) → Future< DartStreamSession> - Reuses a valid token and renews before expiry. Concurrent calls share one exchange. A rejected exchange never returns the previous expired token.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited