refactor: another rename
This commit is contained in:
parent
b755ce9528
commit
0e7f14159a
@ -62,9 +62,9 @@ const (
|
|||||||
// MethodMutateState is the identifier for the method that attempts to mutate
|
// MethodMutateState is the identifier for the method that attempts to mutate
|
||||||
// a state value in the actor.
|
// a state value in the actor.
|
||||||
MethodMutateState
|
MethodMutateState
|
||||||
// MethodAbort is the identifier for the method that panics optionally with
|
// MethodAbortWith is the identifier for the method that panics optionally with
|
||||||
// a passed exit code.
|
// a passed exit code.
|
||||||
MethodAbort
|
MethodAbortWith
|
||||||
)
|
)
|
||||||
|
|
||||||
// Exports defines the methods this actor exposes publicly.
|
// Exports defines the methods this actor exposes publicly.
|
||||||
@ -77,7 +77,7 @@ func (a Actor) Exports() []interface{} {
|
|||||||
MethodDeleteActor: a.DeleteActor,
|
MethodDeleteActor: a.DeleteActor,
|
||||||
MethodSend: a.Send,
|
MethodSend: a.Send,
|
||||||
MethodMutateState: a.MutateState,
|
MethodMutateState: a.MutateState,
|
||||||
MethodAbort: a.AbortWith,
|
MethodAbortWith: a.AbortWith,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user