Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/encode/starlette
/ background
Method
background
tests/middleware/test_base.py:1082–1083 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1080
ordered_events.append(f
"{self.version}:COMPLETED"
)
1081
1082
def
background() -> None:
1083
unordered_events.append(f
"{self.version}:BACKGROUND"
)
1084
1085
assert res.background is None
1086
res.background = BackgroundTask(background)
Callers
4
__call__
Method · 0.80
__call__
Method · 0.80
__call__
Method · 0.80
__call__
Method · 0.80
Calls
1
append
Method · 0.45
Tested by
no test coverage detected