Struct eventual::Timer [] [src]

pub struct Timer { /* fields omitted */ }

Provides timeouts as a Future and periodic ticks as a Stream.

Methods

impl Timer
[src]

Creates a new timer backed by a thread pool with 5 threads.

Creates a new timer backed by a thread pool with capacity threads.

Returns a Future that will be completed in ms milliseconds

Return a Stream with values realized every ms milliseconds.

Trait Implementations

impl Clone for Timer
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more