Documentation ¶
Index ¶
- type ActorStateLoader
- type ActorStateMapLoader
- type GenericMapDiff
- func (t *GenericMapDiff) Add(key string, val *typegen.Deferred) error
- func (t *GenericMapDiff) AsKey(key string) (abi.Keyer, error)
- func (t *GenericMapDiff) AsMapModifications() (MapModifications, error)
- func (t *GenericMapDiff) Modify(key string, from, to *typegen.Deferred) error
- func (t *GenericMapDiff) Remove(key string, val *typegen.Deferred) error
- type MapModification
- type MapModifications
- type StringKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActorStateMapLoader ¶
type GenericMapDiff ¶
type GenericMapDiff struct { Added MapModifications Modified MapModifications Removed MapModifications }
func (*GenericMapDiff) AsMapModifications ¶
func (t *GenericMapDiff) AsMapModifications() (MapModifications, error)
type MapModification ¶
type MapModifications ¶
type MapModifications []*MapModification
func DiffActorMap ¶
func DiffActorMap(ctx context.Context, api actorstate.ActorStateAPI, act actorstate.ActorInfo, actorStateLoader ActorStateLoader, actorMapLoader ActorStateMapLoader) (MapModifications, error)
Click to show internal directories.
Click to hide internal directories.