Table of Contents

Module: interfaces ./src/peak/events/interfaces.py
Imported modules   
from peak.api import *
from time import sleep
Classes   

IConditional

An event source that fires when (or resumes while) its value is true

IEventLoop

IEventSink

Signature for callables passed to 'IEventSource.addCallback()

IEventSource

Thing you can receive notifications from, as well as task-switch on

IPausableSource

An event source whose firing can be temporarily disabled

IProcedure

Iterator suitable for use in a task, such as a generator-iterator

IReadableSource

An event source whose current value or state is readable

IScheduledTask

A task that relies on a scheduler for ongoing execution

IScheduler

Time-based conditions

ISelector

Like a reactor, but supplying IEventSources instead of callbacks

ISemaphore

An event source that allows n tasks to proceed at once

ISignalSource

Signal events

ITask

Task that can be paused and resumed based on event occurences

ITaskState

Control a task's behavior

ITaskSwitch

What a task yields control to

IValue

A readable event source that fires when changed

IWritableSource

An event source whose current value or state can be read or changed

IWritableValue

A writable event source that fires when changed

Interruption

A task was interrupted by an asynchronous event

TimeoutError

A timeout occurred


Table of Contents

This document was automatically generated on Mon Jul 15 01:11:16 2019 by HappyDoc version 2.1