seq  2.0.0
Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
test.errloop.Tpl Class Reference
Inheritance diagram for test.errloop.Tpl:

Public Member Functions

def a (self, ctx)
 
def b (self, context)
 
def check_condition (self, ctx)
 
def init_loop (self, context)
 

Static Public Member Functions

def create (**kw)
 

Static Public Attributes

int count_a = 0
 
int count_b = 0
 

Member Function Documentation

◆ a()

def test.errloop.Tpl.a (   self,
  ctx 
)

◆ b()

def test.errloop.Tpl.b (   self,
  context 
)

◆ check_condition()

def test.errloop.Tpl.check_condition (   self,
  ctx 
)
The magic of contextvars in asyncio

Loop.index is local to each asyncio task

◆ create()

def test.errloop.Tpl.create ( **  kw)
static

◆ init_loop()

def test.errloop.Tpl.init_loop (   self,
  context 
)

Member Data Documentation

◆ count_a

int test.errloop.Tpl.count_a = 0
static

◆ count_b

int test.errloop.Tpl.count_b = 0
static

The documentation for this class was generated from the following file: