brazier/local
Types
A client-only state layer over the synced model.
pub opaque type Layer(model, local, msg)
Values
pub fn forward(local: local) -> Update(local)
Apply local in the browser and also send the message to the server.
pub fn handled(local: local) -> Update(local)
Apply local in the browser and do not send the message to the server.