sigildocs

(sigil async scheduler)

(sigil async scheduler) - Shared Async Scheduler State

This module provides the shared state for async context detection. Both (sigil async) and (sigil io) import this to coordinate async behavior without circular dependencies.

Users typically don't need to import this directly - use (sigil async) for the full async runtime.

Exports

Get the current async scheduler.

Returns the scheduler if running inside with-async, #f otherwise.

Set the current async scheduler.

Called by the async runtime when entering/exiting async context.