Module wasm_rs_shared_channel::spsc[][src]

Single Publisher Single Consumer Channel

A simple single publisher, single consumer channel can be used to communicate from main thread to a worker thread or between worker threads.

Structs

Receiver

Receiver part of the channel

Sender

Sender part of the channel

SharedChannel

Shared single publisher, single-consumer channel

Functions

channel

Creates a channel of len bytes