[android-components](../../index.md) / [mozilla.components.lib.state](../index.md) / [MiddlewareStore](index.md) / [dispatch](./dispatch.md)

# dispatch

`abstract fun dispatch(action: `[`A`](index.md#A)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/lib/state/src/main/java/mozilla/components/lib/state/Middleware.kt#L32)

Dispatches an [Action](../-action.md) synchronously on the [Store](../-store/index.md).

