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
Name | Type |
---|---|
T | extends 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
Name | Type |
---|---|
T | extends ResetOptions |
Parameters
Name | Type |
---|---|
optionsFunc | OptionsFunc <T , BaseReset , GenericReset > |
Returns
Reset
<T
>
trackResetTime
▸ trackResetTime(layer
, reset
): Persistent
<default
>
Parameters
Name | Type |
---|---|
layer | BaseLayer |
reset | GenericReset |