Function channel

Source
pub fn channel<T>(init: T) -> (Sender<T>, Receiver<T>)
👎Deprecated: don’t use across threads as it can cause panic in WASM