MCPcopy
hub / github.com/encode/starlette / background

Method background

tests/middleware/test_base.py:1082–1083  ·  tests/middleware/test_base.py::MyMiddleware.background
()

Source from the content-addressed store, hash-verified

1080 ordered_events.append(fclass="st">"{self.version}:COMPLETED")
1081
1082 def background() -> None:
1083 unordered_events.append(fclass="st">"{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

appendMethod · 0.45

Tested by

no test coverage detected