journal.Channel

Module Contents

class journal.Channel.Channel(name, **kwds)

Bases: pyre.patterns.Named.Named

This class encapsulates access to the shared channel state

class Enabled

Shared state for channels that are enabled by default

state = True
device
class Disabled

Shared state for channels that are disabled by default

state = False
device
journal
_index
activate(self)

Mark me as active

deactivate(self)

Mark me as inactive

__bool__(self)

Simplify the state testing