Attributes
Members list
Type members
Types
Any evolution, whatever its type parameters — the type Evolution.dispose collects.
Value members
Concrete methods
Disposes every evolution given, in argument order, whatever any of them throws.
Disposes every evolution given, in argument order, whatever any of them throws.
The first non-fatal exception becomes the primary one: the rest are disposed all the same, further non-fatal exceptions are attached to the primary as suppressed, and the primary is rethrown at the end. An exception that is the primary itself, thrown again by a later disposal, is not attached: a throwable cannot suppress itself.
This is the single disposal discipline for everything owning several evolutions at once — the composed evolution here, the binary operators and the h8io.stages.cycles family in the lib module. The parameter list is positional on purpose: each caller maps its own roles onto the order it wants them released in.
Value parameters
- evolutions
-
the evolutions to dispose, in order, even if earlier disposals fail