ComputeSpawn typedef

ComputeSpawn = Future<ComputeProcess> Function(DispatchCommand cmd)

Spawns a DispatchCommand as a reapable ComputeProcess. Injectable (default = realComputeSpawn); tests pass a fake so no process spawns.

Implementation

typedef ComputeSpawn = Future<ComputeProcess> Function(DispatchCommand cmd);