Commit 732a6102 authored by David Wilson's avatar David Wilson

docs: add beginnings of section on func decorators

parent 2abe8747
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment