[−][src]Trait polyhorn_core::UseChannel
Required methods
pub fn use_channel<T, C, F>(&mut self, key: Key, closure: C) -> Sender<T> where
T: Send + 'static,
C: FnOnce(Receiver<T>) -> F + 'static,
F: Future<Output = ()>,
[src]
T: Send + 'static,
C: FnOnce(Receiver<T>) -> F + 'static,
F: Future<Output = ()>,
Implementors
impl<M> UseChannel for M where
M: UseAsync + UseReference + Link,
[src]
M: UseAsync + UseReference + Link,