InterruptRule

What happens to work in service when units of the resource it holds are taken away, by a failure or by a more urgent request. Under RESUME and RESTART the units are taken; the holder's own construct then decides what that means for it. A plain delay is held, and the holder is not told. A delayOrInterrupt ends at once and reports the taking, with this rule in its result, so the process can decide. Either way its release works as before.

Entries

Link copied to clipboard

Nothing is taken from the holder: its work completes, and the units are taken at its release.

Link copied to clipboard

A plain delay is held while the units are away, and goes on with the time left when they return.

Link copied to clipboard

A plain delay is held while the units are away, and starts again in full when they return.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.