execlib.listener module

See also:

class execlib.listener.Listener(router)[source]

Bases: Thread, Generic

Implements a file system watcher.

__init__(router)[source]
Parameters:

router (Router[E]) – associated Router instance that events should be passed to

listen()[source]

Register a new listener endpoint

run()[source]

Begin listening for events. Typically a blocking loop that passes events to attached Router.

stop()[source]

Begin listening for events. Typically a blocking loop that passes events to attached Router.