tokio-patterns

Installation
SKILL.md

Tokio Patterns

This skill provides common patterns and idioms for building robust async applications with Tokio.

Worker Pool Pattern

Limit concurrent task execution using a semaphore:

use tokio::sync::Semaphore;
use std::sync::Arc;

pub struct WorkerPool {
    semaphore: Arc<Semaphore>,
}
Related skills
Installs
73
GitHub Stars
8
First Seen
Jan 24, 2026