Skip to content

Commit

Permalink
Fix incorrect method name Create() -> Begin().
Browse files Browse the repository at this point in the history
  • Loading branch information
jmalloc committed Oct 16, 2020
1 parent dabaef6 commit 9c7beef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions process.go
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ type ProcessEventScope interface {
// The engine MUST discard any timeout messages associated with this
// instance.
//
// It MAY be called within the same scope as a prior call to Create().
// It MAY be called within the same scope as a prior call to Begin().
//
// The engine MAY allow re-beginning a process instance that has ended.
// Callers SHOULD assume that such behavior is unavailable.
Expand Down Expand Up @@ -300,7 +300,7 @@ type ProcessTimeoutScope interface {
// The engine MUST discard any timeout messages associated with this
// instance.
//
// It MAY be called within the same scope as a prior call to Create().
// It MAY be called within the same scope as a prior call to Begin().
//
// The engine MAY allow re-beginning a process instance that has ended.
// Callers SHOULD assume that such behavior is unavailable.
Expand Down

0 comments on commit 9c7beef

Please sign in to comment.