class documentation

class FakeThread:

Constructor: FakeThread(target)

View In Hierarchy

A fake threading.Thread.

Method __init__ Create a FakeThread with a target.
Method start Set the "started" flag.
Instance Variable started Has this thread been started?
Instance Variable target A target function to run.
def __init__(self, target: Callable[[], object]):

Create a FakeThread with a target.

def start(self):

Set the "started" flag.

started: bool =

Has this thread been started?

target =

A target function to run.