pub type Message {
Shutdown
GetState(reply_with: Subject(Result(State, Nil)))
PushPreflight(preflight: Preflight)
CleanupPreflights
StartPreflightCleanupJob(cleanup_preflights: fn() -> Nil)
PopPreflight(
reply_with: Subject(Result(Preflight, Nil)),
id: String,
)
PushSprocket(sprocket: Sprocket)
GetSprocket(
reply_with: Subject(Result(Sprocket, Nil)),
ws: WebSocket,
)
PopSprocket(
reply_with: Subject(Result(Sprocket, Nil)),
ws: WebSocket,
)
}
Constructors
-
-
GetState(reply_with: Subject(Result(State, Nil)))
-
PushPreflight(preflight: Preflight)
-
-
StartPreflightCleanupJob(cleanup_preflights: fn() -> Nil)
-
PopPreflight(
reply_with: Subject(Result(Preflight, Nil)),
id: String,
)
-
PushSprocket(sprocket: Sprocket)
-
GetSprocket(
reply_with: Subject(Result(Sprocket, Nil)),
ws: WebSocket,
)
-
PopSprocket(
reply_with: Subject(Result(Sprocket, Nil)),
ws: WebSocket,
)