pub fn rememberIncomingContent() -> EventStream<IncomingContent>Expand description
Re-export framework services (HTTP, URI, etc.) from the dedicated services crate. Collects content shared into the application for as long as this call stays in the composition.
use cranpose_macros::composable;
use cranpose_services::rememberIncomingContent;
#[composable]
fn Inbox() {
let shared = rememberIncomingContent();
cranpose_core::CollectEvents(shared, (), |item| {
log::info!("received {}", item.display_name());
});
}