Home > @uniformdev/context > DevToolsActions

DevToolsActions type

Mutations the DevTools can take on the data it receives

Signature:

type DevToolsActions = {
    update: (newData: Partial<ContextState>) => Promise<void>;
    rawUpdate: (commands: StorageCommands[]) => Promise<void>;
    forget: () => Promise<void>;
};

References: ContextState, StorageCommands