Skip to content
module@warp-drive/core/reactive

Function teardownRecord()

ts
function teardownRecord(record): void;

Defined in: warp-drive-packages/core/src/reactive/-private/hooks.ts:60

The store's default teardownRecord hook implementation, which asserts that record is a ReactiveResource and invokes its Destroy behavior.

Parameters

record

unknown

Returns

void

Released under the MIT License.