Skip to content

[QUESTION] Is it possible to use repeated tasks with lifetimes? if so how? #357

@ollz272

Description

@ollz272

Description

How can I use repeated tasks with lifetimes?

The docs only give examples how how to use these utils with the app.on_event(...) api, but fastapi now recommends using lifetimes. Its unclear to me whether the repeated tasks are supported here, and if they are how they would be used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions