# `@veloceapps/sdk/core`

[← Back to SDK](../)

The place where configuration logic lives: services, utils, workers etc

## IntegrationState

An application state, which helps to cover cross-component communication. Contains reactive store and event system.

`get state$(): Observable<S>`

`get state(): S`

`patchState(update: Partial<S>): void`

`dispatch(action: IntegrationAction): void`

`listen$<P = any>(actionType: string): Observable<P>`

`listenAll$<T extends IntegrationAction>(): Observable<T>`

`clear(): void`

**Important!** Don't overuse it, otherwise application can become messy and hardly supportable.
