apppbdsl

package
v0.0.0-...-9727c61 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEpoch

func NewEpoch(m dsl.Module, destModule stdtypes.ModuleID, epochNr types1.EpochNr, protocolModule stdtypes.ModuleID)

func RestoreState

func RestoreState(m dsl.Module, destModule stdtypes.ModuleID, checkpoint *types.StableCheckpoint)

func Snapshot

func Snapshot(m dsl.Module, destModule stdtypes.ModuleID, appData []uint8)

func SnapshotRequest

func SnapshotRequest(m dsl.Module, destModule stdtypes.ModuleID, replyTo stdtypes.ModuleID)

func UponEvent

func UponEvent[W types.Event_TypeWrapper[Ev], Ev any](m dsl.Module, handler func(ev *Ev) error)

func UponNewEpoch

func UponNewEpoch(m dsl.Module, handler func(epochNr types3.EpochNr, protocolModule stdtypes.ModuleID) error)

func UponRestoreState

func UponRestoreState(m dsl.Module, handler func(checkpoint *types2.StableCheckpoint) error)

func UponSnapshot

func UponSnapshot(m dsl.Module, handler func(appData []uint8) error)

func UponSnapshotRequest

func UponSnapshotRequest(m dsl.Module, handler func(replyTo stdtypes.ModuleID) error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL