@property<EOL><INDENT>def __current__(self):<DEDENT>
loop = asyncio.get_event_loop()<EOL>if not loop or not loop.is_running():<EOL><INDENT>return THREADING_LOCAL<EOL><DEDENT>task = asyncio.Task.current_task(loop=loop)<EOL>if not task:<EOL><INDENT>raise RuntimeError('<STR_LIT>')<EOL><DEDENT>if not hasattr(task, '<STR_LIT>'):<EOL><INDENT>task._locals = lambda: None<EOL><DEDENT>return task._locals<EOL>
Create namespace inside running task.