[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/devtools](../../README) / [index](../README) / startDevtoolsStream

# Function: startDevtoolsStream()

> **startDevtoolsStream**(): () => `void`

Defined in: [devtools/src/DevtoolsInjectionMiddleware.ts:72](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/devtools/src/DevtoolsInjectionMiddleware.ts#L72)

Bridge the trace store to connected panels. Called by [DevtoolsProvider](../classes/DevtoolsProvider)
on boot rather than at module scope — subscribing on import would tie the
stream to whichever store existed at import time, before the provider has
built the one the app's config asks for.

## Returns

A disposer that unsubscribes and drops connected clients.

() => `void`
