API reference › @evolu/common › Result › OnlyDone
type OnlyDone<E> = Extract<E, Done<any>>;
Defined in: packages/common/src/Result.ts:510
Extracts only Done from an error union.
Useful for pull-based protocols where completion is encoded in the error channel (for example NextResult).