recoverable_component.bend source
recoverable_component.bend on the hub · documented module
import Baseimport ./world.bend as Wimport ./lifecycle.bend as Lifetype Tag is Data:Tag{}type Record<S:Data,P:Type> is Type: Record{handle:W.Handle<S>,stamp:Life.Stamp,payload:Maybe<P>}type Replacement<World:Type,S:Data,P:Type> is Type: Applied{world:World,previous:Record<S,P>} Refused{world:World,incoming:Maybe<P>,error:W.WorldError}