Skip to content

Mutation

Mutation is an atomic modification on an object in store

Extended by

Constructors

new Mutation()

new Mutation(type): Mutation

Parameters

type: string

Returns

Mutation

Source

core/transaction.ts:19

Properties

type

type: string

Source

core/transaction.ts:18

Methods

apply()

apply(store): void

Parameters

store: Store

Returns

void

Source

core/transaction.ts:22


toJSON()

toJSON(): any

Returns

any

Source

core/transaction.ts:24


unapply()

unapply(store): void

Parameters

store: Store

Returns

void

Source

core/transaction.ts:23