cosmic::task

Function message

source
pub fn message<X: Send + 'static + Into<Y>, Y: 'static>(message: X) -> Task<Y>
Expand description

Yields a task which will return a message.