summaryrefslogtreecommitdiffstats
path: root/mojo/embedder/README.md
blob: 5510e99f65f5361b2335bbc06059af68ed7de96a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Mojo Embedder API
=================

The Mojo Embedder API is an unstable, internal API to the Mojo system
implementation. It should be used by code running on top of the system-level
APIs to set up the Mojo environment (instead of directly instantiating things
from src/mojo/system).

Example uses: Mojo shell, to set up the Mojo environment for Mojo apps; Chromium
code, to set up the Mojo IPC system for use between processes. Note that most
code should use the Mojo Public API (under src/mojo/public) instead. The
Embedder API should only be used to initialize the environment, set up the
initial MessagePipe between two processes, etc.