Skip to content

Commit

Permalink
Link TaskiqMiddleware class
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinhikaruevans committed Oct 25, 2023
1 parent a7dd59b commit 2cdbeb2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/extending-taskiq/middleware.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ order: 2

Middlewares are super helpful. You can inject some code before or after task's execution.

Middlewares must implement `taskiq.abc.middleware.TaskiqMiddleware` abstract class.
Middlewares must implement [`taskiq.abc.middleware.TaskiqMiddleware`](https://github.com/taskiq-python/taskiq/blob/master/taskiq/abc/middleware.py) abstract class.
Every method of a middleware can be either sync or async. Taskiq will execute it
as you expect.

Expand Down

0 comments on commit 2cdbeb2

Please sign in to comment.