Skip to content

Onetime (aka. oneshot) spsc async channel

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

LIMPIX31/onetime

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onetime

An async onetime (aka. oneshot) channel, where you can send only one message over that channel.

Examples

let (s, r) = onetime::channel();

s.send("ok")?;
let value = r.recv().await?;

License

Licensed under either of

at your option.

About

Onetime (aka. oneshot) spsc async channel

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages