ProcessContext class abstract
Describes the active process context and may provide additional methods to interact with it.
Constructors
- ProcessContext({required int concurrency, Duration? idleTimeout})
Properties
- concurrency → int
-
How much tasks may be calling the client concurrently.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- idleTimeout → Duration?
-
Optional idle timeout for this context. If specified, overrides the
ProcessSwitcher's global idle timeout for this specific context.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
close(
{bool force = false}) → FutureOr< void> - Closes the context and releases resources.
-
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