Skip to content

Support functions without arguments #18

Description

@vadimdemedes

Currently functions passed to dispatch.Func are required to have an input argument, but this doesn't look good for functions that don't actually need arguments and requires passing a useless argument to work around this limitation:

func.Dispatch(context.Background(), "")

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