# Protocol: stream

The `stream` commands a program sends to a running game, as the engine describes them: what each takes, what it answers and what it does. Back to [all commands](../protocol-commands.md).

## stream.read

`stream.read {} -> {step: number, stream: record}` · read, read-only

Reads streaming state at this step. Coordinates are grid x,z (x,y in 2D). active lists resident cells and their owned handles; saved holds dormant rows and tombstones; escaped lists promoted world things. ready says whether required cells are all in and physics may step.

| Result | Type | Meaning |
| --- | --- | --- |
| `step` | number | Current step. |
| `stream` | record | Streaming state, null without [stream]. |
