hololinked.core.eventloop.scheduler.ThreadedScheduler
Bases: Scheduler
Scheduler class to schedule the operations of a thing in a threaded loop.
Source code in repo/hololinked/hololinked/core/eventloop/scheduler.py
Functions
__init__
Source code in repo/hololinked/hololinked/core/eventloop/scheduler.py
dispatch_job
Store the job and start a thread to execute it on the Thing instance.
The drain half goes onto the EventLoop's own asyncio loop, not the caller's - see AsyncScheduler.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
|
Job
|
the operation to run, and the future that answers whoever submitted it |
required |