[−][src]Type Definition cursive::CbSink
type CbSink = Sender<Box<dyn FnOnce(&mut Cursive) + 'static + Send, Global>>;
Convenient alias to the result of Cursive::cb_sink
.
Notes
Callbacks need to be Send
, which can be limiting in some cases.
In some case send_wrapper
may help you work around that.