docs: add beginnings of section on func decorators
This commit is contained in:
parent
2abe87472c
commit
732a610246
|
@ -248,6 +248,19 @@ without the need for writing asynchronous code::
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Recovering Mitogen Object References In Children
|
||||||
|
------------------------------------------------
|
||||||
|
|
||||||
|
::
|
||||||
|
|
||||||
|
@mitogen.core.takes_econtext
|
||||||
|
def func1(a, b, econtext):
|
||||||
|
...
|
||||||
|
|
||||||
|
@mitogen.core.takes_router
|
||||||
|
def func2(a, b, router):
|
||||||
|
...
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
Recursion
|
Recursion
|
||||||
|
|
Loading…
Reference in New Issue