Semaphore class

Constructors

Semaphore(int _maxConcurrent, {required Function onEachCompleted})

Properties

hashCode int
The hash code for this object.
no setterinherited
onEachCompleted Function
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

acquire() Future<void>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release() → void
toString() String
A string representation of this object.
inherited
withPermit<T>(Future<T> action()) Future<T>

Operators

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