MCPcopy Create free account
hub / github.com/dabeaz/python-cookbook / Async

Class Async

src/7/inlining_callback_functions/example.py:16–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14from functools import wraps
15
16class Async:
17 def __init__(self, func, args):
18 self.func = func
19 self.args = args
20
21def inlined_async(func):
22 @wraps(func)

Callers 1

testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected