pytak.txworker_factory

async pytak.txworker_factory(queue: Queue, config: SectionProxy) TXWorker

Create a PyTAK TXWorker based on URL parameters.

Parameters:
  • cot_url – URL to COT Destination.

  • event_queue – asyncio.Queue worker to get events from.

Returns:

EventWorker or asyncio Protocol