docs: add beginnings of section on func decorators

This commit is contained in:
David Wilson 2018-03-23 09:31:29 +05:45
parent 2abe87472c
commit 732a610246
1 changed files with 13 additions and 0 deletions

View File

@ -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