Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

event.named_call #99

Merged
merged 3 commits into from
Nov 18, 2021
Merged

event.named_call #99

merged 3 commits into from
Nov 18, 2021

Conversation

da-h
Copy link
Owner

@da-h da-h commented Nov 18, 2021

`event.named_call

This MR adds named calls to the event-object.

Description

For non-unique events, the miniflask api has changed in earlier version.
Currently, in this case the call returns a list of

Check all before creating this PR:

  • Documentation adapted
  • Unit-Test added

Example Usage

for module_id, result in event.named_call('myevent', the_argument=42).items():
    print(f"Module with id {module_id} has returned", result)

@da-h da-h merged commit 803b770 into master Nov 18, 2021
github-actions bot pushed a commit that referenced this pull request Nov 18, 2021
@sbrodehl sbrodehl deleted the event.named_call branch October 7, 2022 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant