Skip to content

Commit

Permalink
add warning for lifecycle tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
devkral committed Jan 3, 2025
1 parent 20aedf8 commit 9bfb188
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,3 +85,7 @@ Note the `make_function` and `make_async_function` decorators. They are required
methods have no signature. It is especially required for asend/athrow.

This is also possible with asynchronous generators.


!!! Warning
Lifecycle tasks are only valid for the memory store. Generators cannot be pickled.

0 comments on commit 9bfb188

Please sign in to comment.