refactor: another rename

This commit is contained in:
Alan Shaw 2020-09-10 12:06:00 +01:00
parent b755ce9528
commit 0e7f14159a
No known key found for this signature in database
GPG Key ID: 731D1C308A48A6B9

View File

@ -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,
} }
} }