Documentation ¶
Index ¶
- func NewEpoch(m dsl.Module, destModule stdtypes.ModuleID, epochNr types1.EpochNr, ...)
- func RestoreState(m dsl.Module, destModule stdtypes.ModuleID, checkpoint *types.StableCheckpoint)
- func Snapshot(m dsl.Module, destModule stdtypes.ModuleID, appData []uint8)
- func SnapshotRequest(m dsl.Module, destModule stdtypes.ModuleID, replyTo stdtypes.ModuleID)
- func UponEvent[W types.Event_TypeWrapper[Ev], Ev any](m dsl.Module, handler func(ev *Ev) error)
- func UponNewEpoch(m dsl.Module, ...)
- func UponRestoreState(m dsl.Module, handler func(checkpoint *types2.StableCheckpoint) error)
- func UponSnapshot(m dsl.Module, handler func(appData []uint8) error)
- func UponSnapshotRequest(m dsl.Module, handler func(replyTo stdtypes.ModuleID) error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RestoreState ¶
func SnapshotRequest ¶
func UponNewEpoch ¶
func UponRestoreState ¶
func UponRestoreState(m dsl.Module, handler func(checkpoint *types2.StableCheckpoint) error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.