Skip to content

event.named_call#99

Merged
da-h merged 3 commits intomasterfrom
event.named_call
Nov 18, 2021
Merged

event.named_call#99
da-h merged 3 commits intomasterfrom
event.named_call

Conversation

@da-h
Copy link
Copy Markdown
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