Table of Contents

Module: api ./src/peak/events/api.py

API for Event-driven programming and co-operative multitasking

Imported modules   
from event_threads import *
from interfaces import *
from sources import *
Functions   
ifTwisted
makeTwisted
  ifTwisted 
ifTwisted (
        ob,
        twistedValue,
        untwistedValue,
        )

Return twistedValue if ob is in a Twisted service area

  makeTwisted 
makeTwisted ( ob )

Try to make service area containing ob a Twisted area

Exceptions   
AlreadyRead( "Another reactor is already in use for this service area" )

Table of Contents

This document was automatically generated on Mon Nov 11 01:11:04 2024 by HappyDoc version 2.1