1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//! Boardwalk — resource / actor runtime with hypermedia federation.
//!
//! Boardwalk models addressable state as [`Resource`] values, drives
//! executable state machines as [`Actor`] values inside a [`NodeBuilder`]
//! / `Node` runtime, and renders queryable [`ResourceSnapshot`] values
//! through resource routes such as `/resources`,
//! `/resources/{id}`, and `/resources/{id}/transitions/{transition}`.
//! `Boardwalk::new().use_actor(...).listen(...)` assembles that `Node`
//! with the reusable HTTP, WebSocket, and peer route stack. Use
//! [`NodeBuilder`] directly when an application wants the in-process
//! Resource/Actor runtime without starting Boardwalk's HTTP server.
//!
//! Common imports for the Resource/Actor surface:
//!
//! ```rust
//! use boardwalk::{
//! Actor, NodeBuilder, Resource, ResourceSnapshot, SlowConsumerPolicy,
//! TransitionInput, TransitionOutcome,
//! };
//! ```
//!
//! The `examples/job-runner` package shows async transition acceptance
//! with job resources, explicit actor event publishing, and
//! stream-specific slow-consumer policy choices. See
//! [the README](https://github.com/kevinswiber/boardwalk) for an
//! introduction.
pub use ;
pub use crateSlowConsumerPolicy;
pub use crate;
pub use crateBoardwalk;