Commit graph

10 commits

Author SHA1 Message Date
Aode (lion) eccf6cb20b Update jive 2022-03-05 16:57:44 -06:00
Aode (Lion) 701f9cf0a4 Use option instead of result<t, dropped> 2022-02-25 12:04:29 -06:00
Aode (Lion) 716f282c1d Implement a 'watch' channel example 2022-02-25 12:02:44 -06:00
Aode (Lion) 41ff870128 Add Clone for Listener 2022-02-25 12:02:09 -06:00
Aode (Lion) dc141054a1 examples: add try_recv for channel types 2022-02-24 21:19:33 -06:00
Aode (Lion) 0f8cbc6eb6 cargo fmt 2022-02-24 21:01:07 -06:00
Aode (Lion) e67b6d0415 Notify on sender drop 2022-02-24 21:00:56 -06:00
Aode (Lion) 3cdb4a859a Allow listeners to consume arbitrary numbers of pending notifications
Avoid spinning in mpsc example when many items have sent since the last receive
2022-02-24 20:47:28 -06:00
Aode (Lion) b80be5d7f9 Implement oneshot and mpsc as examples 2022-02-24 20:37:54 -06:00
Aode (Lion) 03e28bff03 Safe notifications 2022-02-24 19:52:50 -06:00