Trait flow_component::Operation
source · pub trait Operation {
// Required method
fn handle(
&self,
payload: StreamMap,
data: Option<Value>
) -> BoxFuture<'_, Result<PacketStream, ComponentError>>;
}
pub trait Operation {
// Required method
fn handle(
&self,
payload: StreamMap,
data: Option<Value>
) -> BoxFuture<'_, Result<PacketStream, ComponentError>>;
}