S or /

Module talon.events

from talon import events

Classes

NameReference
Eventts · num · path · topic · desc · noisy · attrs

Functions

NameReference
write(topic: str, desc: str = '', /, *, noisy: bool = False, **kwargs: AttrValue) -> None
reader() -> talon.events.RingReader
tail(search: str | collections.abc.Callable[[str], bool] | None = None, *, limit: int = 120, noisy: bool = False) -> None

Functions

write§

def write(topic: str, desc: str = '', /, *, noisy: bool = False, **kwargs: AttrValue) -> None

Example

from talon import events

events.write("user.example", "Example event")

reader§

def reader() -> talon.events.RingReader

Example

from talon import events

reader = events.reader()
for event in reader:
    print(event.topic, event.desc)

tail§

def tail(search: str | collections.abc.Callable[[str], bool] | None = None, *, limit: int = 120, noisy: bool = False) -> None

Further reading