🔖 Release 2.0.0rc4

This commit is contained in:
github-actions[bot]
2023-04-01 03:59:10 +00:00
parent 408292d679
commit 890b2ee22f
80 changed files with 13408 additions and 1 deletions

View File

@ -0,0 +1,47 @@
# nonebot.drivers.\_lifespan
## _class_ `Lifespan()` {#Lifespan}
- **参数**
empty
### _method_ `on_startup(func)` {#Lifespan-on_startup}
- **参数**
- `func` (LIFESPAN_FUNC)
- **返回**
- LIFESPAN_FUNC
### _method_ `on_shutdown(func)` {#Lifespan-on_shutdown}
- **参数**
- `func` (LIFESPAN_FUNC)
- **返回**
- LIFESPAN_FUNC
### _async method_ `startup()` {#Lifespan-startup}
- **参数**
empty
- **返回**
- None
### _async method_ `shutdown()` {#Lifespan-shutdown}
- **参数**
empty
- **返回**
- None