Skip to main content

IntoEffectObjectMethod

Trait IntoEffectObjectMethod 

Source
pub trait IntoEffectObjectMethod<T: 'static, H: HostSchema, A, R>: Read<T, H, A, R, EffectView> { }
Expand description

An object method that stages effects in the invocation’s existing journal.

Closures receive &T, crate::Effects, then up to eight typed arguments. This sealed marker is implemented automatically for matching callbacks.

Implementors§

Source§

impl<T: 'static, H: HostSchema, A, R, F> IntoEffectObjectMethod<T, H, A, R> for F
where F: Read<T, H, A, R, EffectView>,