GitHub

daffCompleteOperation

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

import { daffCompleteOperation } from '@daffodil/core/state'
function daffCompleteOperation<T extends DaffOperationState = DaffOperationState>(state: T): T