Module: features/reset

Interfaces

Type aliases

GenericReset

Ƭ GenericReset: Reset<ResetOptions>

Defined in

profectus/src/features/reset.ts:37


Reset

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

Type parameters

NameType
Textends ResetOptions

Defined in

profectus/src/features/reset.ts:30

Variables

ResetType

Const ResetType: typeof ResetType

Defined in

profectus/src/features/reset.ts:17

Functions

createReset

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

Type parameters

NameType
Textends ResetOptions

Parameters

NameType
optionsFunc() => T & ThisType<Reset<T>>

Returns

Reset<T>

Defined in

profectus/src/features/reset.ts:39


trackResetTime

trackResetTime(layer, reset): PersistentRef<Decimal>

Parameters

NameType
layerGenericLayer
resetGenericReset

Returns

PersistentRef<Decimal>

Defined in

profectus/src/features/reset.ts:73