Register op as a fresh routine and return a Task<T> for its
eventual outcome — a Future<T> plus interrupt(err?) to throw into
the routine at its next yield point. Eager — the child is already in
flight by the time spawn returns. A spawned routine still running
when the main operation settles is abandoned by default (see
OnMainExit). See RestateOperations.spawn for full semantics.
Register
opas a fresh routine and return aTask<T>for its eventual outcome — aFuture<T>plusinterrupt(err?)to throw into the routine at its next yield point. Eager — the child is already in flight by the timespawnreturns. A spawned routine still running when the main operation settles is abandoned by default (seeOnMainExit). SeeRestateOperations.spawnfor full semantics.