chore: remove outdated options
This commit is contained in:
parent
11727b9e1e
commit
4535b1bde8
@ -21,7 +21,6 @@ export interface ReactiveEffect<T = any> {
|
|||||||
|
|
||||||
export interface ReactiveEffectOptions {
|
export interface ReactiveEffectOptions {
|
||||||
lazy?: boolean
|
lazy?: boolean
|
||||||
computed?: boolean
|
|
||||||
scheduler?: (job: ReactiveEffect) => void
|
scheduler?: (job: ReactiveEffect) => void
|
||||||
onTrack?: (event: DebuggerEvent) => void
|
onTrack?: (event: DebuggerEvent) => void
|
||||||
onTrigger?: (event: DebuggerEvent) => void
|
onTrigger?: (event: DebuggerEvent) => void
|
||||||
|
@ -275,8 +275,6 @@ function doWatch(
|
|||||||
|
|
||||||
const runner = effect(getter, {
|
const runner = effect(getter, {
|
||||||
lazy: true,
|
lazy: true,
|
||||||
// so it runs before component update effects in pre flush mode
|
|
||||||
computed: true,
|
|
||||||
onTrack,
|
onTrack,
|
||||||
onTrigger,
|
onTrigger,
|
||||||
scheduler: applyCb ? () => scheduler(applyCb) : scheduler
|
scheduler: applyCb ? () => scheduler(applyCb) : scheduler
|
||||||
|
Loading…
Reference in New Issue
Block a user