pub fn mkpair<T, S, E>() -> (SetCtx<T, S, E>, WaitCtx<T, S, E>)where S: Clone + Default,
Create a linked SetCtx and WaitCtx pair.
SetCtx
WaitCtx
The WaitCtx is used to wait for a value to arrive from the SetCtx.