SubjectFactory
struct · ferroui-reactive · v0.5.0
struct SubjectFactory
The factories of subjects (Subject static members).
Members
create
fn create<TSource: 'static, TResult: 'static>(observer: Rc<dyn IObserver<TSource>>, observable: Rc<dyn IObservable<TResult>>) -> Rc<dyn ISubjectHandle<TSource, TResult>>
A subject whose observer side is observer and whose observable side is observable
(Subject.Create<TSource, TResult>).
synchronize
fn synchronize<TSource: 'static, TResult: 'static>(subject: Rc<dyn ISubjectHandle<TSource, TResult>>) -> Rc<dyn ISubjectHandle<TSource, TResult>>
The subject itself (Subject.Synchronize): notifications on one thread are serialized
already.
Trait implementations
SendSyncFreezeUnsafeUnpinUnpinUnwindSafeRefUnwindSafeBorrow<T>BorrowMut<T>Into<U>From<T>TryInto<U>TryFrom<U>Any
Availability
Extracted for aarch64-apple-darwin. Cargo features are listed in the crate index.