[android-components](../../index.md) / [mozilla.components.feature.containers](../index.md) / [ContainerMiddleware](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`ContainerMiddleware(applicationContext: <ERROR CLASS>, coroutineContext: `[`CoroutineContext`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.coroutines/-coroutine-context/index.html)` = Dispatchers.IO)`

[Middleware](../../mozilla.components.lib.state/-middleware.md) implementation for handling [ContainerAction](../../mozilla.components.browser.state.action/-container-action/index.md) and syncing the containers in
[BrowserState.containers](../../mozilla.components.browser.state.state/-browser-state/containers.md) with the [ContainerStorage](#).

