PrepareQueue class
A simple queue to prevent multiple simultaneous builds of the same Dart file. Uses a short delay to allow rapid successive file events to be ignored.
Properties
- hashCode → int
-
The hash code for this object.
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
Static Properties
- delayDuration ↔ Duration
-
Delay before allowing another build for the same file.
getter/setter pair
Static Methods
-
tryBuild(
File file, PrepareBuilder builder) → void -
Attempts to build the given
fileif it is not already being built. Prevents duplicate builds for the same file by using_buildingFilesmap.