before

open override fun before(vararg next: Deps.Flow): TaskRef<T>

Runs the tasks here before each of next, carrying no value.

loaded.before(cleaned, notified); // cleanup and notify both wait for load

Variadic, so one call fans out, and it returns its own receiver: a fan-out has no single next task to hand back. Declaring an edge that already exists changes nothing. The only exception is a label put on the edge with Label.on, which replaces the label the edge had.

Return

This point in the flow.

Parameters

next

Tasks that run after the ones here.

Throws

if Label.on returned this point in the flow, or returned a point that this one holds.