pub fn consume<Load, Spawn, State, T, E>(
request: &mut LaunchRequest,
table: &[Segment<'_, Load, Spawn, State>],
playthrough: impl FnOnce(&Load, &Spawn, &State, &Provenance<'_>) -> Result<T, E>,
diagnostic: impl FnOnce(&Load, &Spawn) -> Result<T, E>,
) -> ConsumeResult<T, E>Expand description
Consume a locally owned request before validation or callbacks.
Games that expose a volatile mailbox must first read and clear it through their own synchronized control channel, then pass that local request here. Never share this ordinary reference directly with an asynchronous writer. Callback failure still consumes the request; retries require a new request.