GitHub

daffCompleteOperation

import { daffCompleteOperation } from '@daffodil/core/state'

Indicates a successfully completed operation. Sets loading to stable and resets errors.

function daffCompleteOperation<T extends DaffOperationState = DaffOperationState>(state: T): T