Trait fibers_tasque::TaskQueueExt [] [src]

pub trait TaskQueueExt {
    fn async_call<F, T>(&self, f: F) -> AsyncCall<T>
    where
        F: FnOnce() -> T + Send + 'static,
        T: Send + 'static
; }

TaskQueue extention.

Required Methods

Executes the given function asynchronously.

The function f will be executed by a worker thread managed by this task queue.

Implementations on Foreign Types

impl TaskQueueExt for TaskQueue
[src]

[src]

Implementors