File: asynchronous.py

package info (click to toggle)
python-trame 3.12.0-1
  • links: PTS, VCS
  • area: main
  • in suites:
  • size: 101,620 kB
  • sloc: python: 13,515; sh: 183; javascript: 93; makefile: 7
file content (14 lines) | stat: -rw-r--r-- 333 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
from trame_common.exec.asynchronous import create_task, decorate_task, task
from trame_server.utils.asynchronous import (
    StateQueue,
    create_state_queue_monitor_task,
)

__all__ = [
    "create_task",
    "decorate_task",
    "task",
    # state sync across threads
    "StateQueue",
    "create_state_queue_monitor_task",
]