Skip to content

Why fsm code not update to the latest version #91

Description

@CmderQ

Hi, I see you example :

fsm

When run the demo , it errors:

image

So I look the code , found the callback :

type Callback func(*Event)

But the latest version, the callback :

type Callback func(context.Context, *Event)

So I try to update the code to the latest version:

image

But it not work

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions