( effect: WatchEffect, options?: WatchEffectOptions, )
| 54 | |
| 55 | // Simple effect. |
| 56 | export function watchEffect( |
| 57 | effect: WatchEffect, |
| 58 | options?: WatchEffectOptions, |
| 59 | ): WatchHandle { |
| 60 | return doWatch(effect, null, options) |
| 61 | } |
| 62 | |
| 63 | export function watchPostEffect( |
| 64 | effect: WatchEffect, |