spawn_parts

Function spawn_parts 

Source
pub fn spawn_parts(
    shard: ShardId,
) -> (ShardHandle, Arc<Notify>, Receiver<ShardCommand>)
Expand description

The handle and the driver halves for one shard.

Split out so a test can drive Shard::handle and Shard::reconcile by hand without a task at all, which is what keeps the whole control plane testable without a clock.