Skip to content

API reference > @kontsedal/olas-svelte > MutationState

MutationState type ​

A mutation's state as one store value.

Signature:

typescript
export type MutationState<V, R> = {
  data: R | undefined;
  error: unknown;
  status: AsyncStatus;
  isPending: boolean;
  lastVariables: V | undefined;
};

References: AsyncStatus

Released under the MIT License.