🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

trio-util

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trio-util

Utility library for the Trio async/await framework

pipPyPI
Version
0.8.0
Maintainers
1

An assortment of utilities for the Trio async/await framework, including:

  • wait_any, wait_all, move_on_when - avoid nursery blocks for simple cases
  • AsyncBool, AsyncValue - value wrappers with the ability to wait for a specific value or transition
  • periodic - periodic loop which accounts for its own execution time
  • @trio_async_generator - decorator which adapts a generator containing Trio constructs for safe use
  • azip, azip_longest - async zip with parallel iteration
  • RepeatedEvent - if you really, really want to reuse an event
  • and more (... obscure stuff you probably don't need)!

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts