Module yew_state::service[][src]

Wrapper for components with shared state.

Structs

ServiceBridge

A bridge to a StateService. This allows message passing with state handlers, as well as their parent service. Useful when you want to access the events emitted by StateService.

StateService

Context agent for managing shared state. In charge of applying changes to state then notifying subscribers of new state.

Enums

ServiceInput

Input message for either StateService or StateHandler.

ServiceOutput

Output message from either StateService or StateHandler.

ServiceRequest

Message send to StateService.

ServiceResponse

Message sent to StateService subscribers.