Skip to content

add async event handler methods - #1887

Merged
xavdid merged 2 commits into
masterfrom
DEVSDK-3228
Aug 25, 2026
Merged

add async event handler methods#1887
xavdid merged 2 commits into
masterfrom
DEVSDK-3228

Conversation

@xavdid

@xavdid xavdid commented Aug 25, 2026

Copy link
Copy Markdown
Member

Why?

Previously the (as of yet unreleased in GA) event handlers only accepted synchronous callbacks. But given the popularity of async Python, it made sense to support async methods too. This means 2 new classes with a bunch of internal code reuse. I've added some decent module-level docstrings.

See the new example for full usage.

What?

  • refactor handler classes & add async variants
  • add related client methods
  • add tests
  • add docs
  • add example

See Also

@xavdid
xavdid requested a review from a team as a code owner August 25, 2026 00:09
@xavdid
xavdid requested review from kidus-stripe and removed request for a team August 25, 2026 00:09
Comment thread examples/async_event_notification_handler_endpoint.py Dismissed
Comment thread examples/async_event_notification_handler_endpoint.py Dismissed
@xavdid
xavdid requested a review from jar-stripe August 25, 2026 00:15
@xavdid
xavdid merged commit 94282c1 into master Aug 25, 2026
17 checks passed
@xavdid
xavdid deleted the DEVSDK-3228 branch August 25, 2026 23:23
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.

3 participants