MCPcopy
hub / github.com/drizzle-team/drizzle-orm / finally

Method finally

drizzle-seed/src/index.ts:182–193  ·  view source on GitHub ↗
(onfinally?: (() => void) | null | undefined)

Source from the content-addressed store, hash-verified

180 }
181
182 finally(onfinally?: (() => void) | null | undefined): Promise<void> {
183 return this.then(
184 (value) => {
185 onfinally?.();
186 return value;
187 },
188 (reason) => {
189 onfinally?.();
190 throw reason;
191 },
192 );
193 }
194
195 async refine(
196 callback: (

Callers

nothing calls this directly

Calls 1

thenMethod · 0.95

Tested by

no test coverage detected