Struct fp_rust::monadio::MonadIO[][src]

pub struct MonadIO<Y> { /* fields omitted */ }

MonadIO implements basic Rx/MonadIO APIs. The observe and subscribe actions could be sync/async, and observe & subscribe could be on other threads (by setting up observe_on and subscribe_on).

Arguments

  • Y - The generic type of data

Remarks

It's inspired by Rx & MonadIO in Haskell , and easily run it on sync/async scenaios.

``

Methods

impl<Y: 'static + Send + Sync + Clone> MonadIO<Y>
[src]

Trait Implementations

impl<Y: Clone> Clone for MonadIO<Y>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl<Y> Send for MonadIO<Y>

impl<Y> Sync for MonadIO<Y>