Module: features/reset

Interfaces

Type aliases

GenericReset

Ƭ GenericReset: Reset<ResetOptions>

Defined in

profectus/src/features/reset.ts:31


Reset

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

Type parameters

NameType
Textends ResetOptions

Defined in

profectus/src/features/reset.ts:24

Variables

ResetType

Const ResetType: typeof ResetType

Defined in

profectus/src/features/reset.ts:11

Functions

createReset

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

Type parameters

NameType
Textends ResetOptions

Parameters

NameType
optionsFuncOptionsFunc<T, Reset<T>, BaseReset>

Returns

Reset<T>

Defined in

profectus/src/features/reset.ts:33


trackResetTime

trackResetTime(layer, reset): Persistent<Decimal>

Parameters

NameType
layerGenericLayer
resetGenericReset

Returns

Persistent<Decimal>

Defined in

profectus/src/features/reset.ts:67