Skip to content
On this page

Module: features/reset

Interfaces

Type Aliases

GenericReset

Ƭ GenericReset: Reset<ResetOptions>

Defined in

profectus/src/features/reset.ts:34


Reset

Ƭ Reset<T>: Replace<T & BaseReset, { thingsToReset: GetComputableType<T["thingsToReset"]> }>

Type parameters

NameType
Textends ResetOptions

Defined in

profectus/src/features/reset.ts:27

Variables

ResetType

Const ResetType: typeof ResetType

Defined in

profectus/src/features/reset.ts:14

Functions

createReset

createReset<T>(optionsFunc): Reset<T>

Type parameters

NameType
Textends ResetOptions

Parameters

NameType
optionsFuncOptionsFunc<T, BaseReset, GenericReset>

Returns

Reset<T>


trackResetTime

trackResetTime(layer, reset): Persistent<default>

Parameters

NameType
layerBaseLayer
resetGenericReset

Returns

Persistent<default>