pub fn queue_wake_ingress(
source: Arc<dyn QueueSource>,
runs: Arc<dyn DurableRunStore>,
app_name: impl Into<String>,
) -> QueueIngressExpand description
Builds the ingress that turns each message of source into a kernel.wake run keyed
keys::queue (spec 3.2 §7.4); the kernel runs it with QueueIngress::run.
§Example
use std::sync::Arc;
use adk_core::InMemoryRunStore;
use adk_core::queue_source::InMemoryQueueSource;
let ingress = adk_kernel::queue_wake_ingress(
Arc::new(InMemoryQueueSource::new("orders")),
Arc::new(InMemoryRunStore::new()),
"adk-rust",
);