pub async fn spawn_handler<H>(
    h: H
) -> impl Future<Output = (Sender<KitsuneP2pEvent>, JoinHandle<Result<(), GhostError>>)>where
    H: KitsuneP2pEventHandler + GhostControlHandler,
Expand description

Create a handler task and produce a Sender for interacting with it