QueryLifecycle enum

Lifecycle states for ObservableQuery.lifecycle

Inheritance

Constructors

QueryLifecycle()
const

Values

unexecuted → const QueryLifecycle

No results have been requested or fetched

pending → const QueryLifecycle

Results are being fetched, and will be side-effect free

polling → const QueryLifecycle

Polling for results periodically

pollingStopped → const QueryLifecycle

Was polling but ObservableQuery.stopPolling() was called

sideEffectsPending → const QueryLifecycle

Results are being fetched, and will trigger the callbacks registered with ObservableQuery.onData

sideEffectsBlocking → const QueryLifecycle

Pending side effects are preventing ObservableQuery.close, and the ObservableQuery will be discarded after fetch completes and side effects are resolved.

completed → const QueryLifecycle

The operation was executed and is not polling

closed → const QueryLifecycle

ObservableQuery.close was called and all activity from this ObservableQuery has ceased.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Constants

values → const List<QueryLifecycle>
A constant List of the values in this enum, in order of their declaration.