Skip to content

Type Alias: SharedStateSetter()\<T\>

@roomful/angular


@roomful/angular / SharedStateSetter

SharedStateSetter<T> = (nextValue) => T

Defined in: angular/src/index.ts:83

Updates a shared state binding and returns the resolved value.

T

The shared state value type.

SetStateAction<T>

The next value or an updater derived from the previous value.

T

The resolved shared state value.