IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /docs/manual/basics.md). For the complete Mojo documentation index, see llms.txt.
Skip to main content
Version: Nightly
For the complete Mojo documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /docs/manual/basics.md).

runtime

Runtime services: async execution and program tracing.

The runtime package provides infrastructure for asynchronous task execution and program profiling. It includes low-level concurrency primitives for managing async coroutines, task groups, and parallel execution. The package also offers tracing utilities for performance analysis and debugging through various profiling backends.

Use this package for implementing async patterns, managing concurrent execution, or when you need detailed profiling and performance analysis of your Mojo programs.

Modules

  • asyncrt: This module implements the low level concurrency library.
  • tracing: Provides tracing utilities.