Skip to content

⬅️ Back to Table of Contents

📄 watchImmediate

📊 Analysis Summary

Metric Count
🔧 Functions 1
📦 Imports 8
🟢 Vue Composition API 1

📚 Table of Contents

🛠️ File Location:

📂 packages/shared/watchImmediate/index.ts

📦 Imports

Name Source
MultiWatchSources vue
WatchCallback vue
WatchHandle vue
WatchOptions vue
WatchSource vue
MapOldSources ../utils/types
MapSources ../utils/types
watch vue

Vue Composition API

Name Type Reactive Variables Composables
watch watch none none

Functions

watchImmediate(source: WatchSource<T>, cb: WatchCallback<T, T | undefined>, options: Omit<WatchOptions<true>, 'immediate'>): WatchHandle

Parameters:

  • source WatchSource<T>
  • cb WatchCallback<T, T | undefined>
  • options Omit<WatchOptions<true>, 'immediate'>

Returns: WatchHandle

Code
export function watchImmediate<T>(
  source: WatchSource<T>,
  cb: WatchCallback<T, T | undefined>,
  options?: Omit<WatchOptions<true>, 'immediate'>,
): WatchHandle

Generated by Syntax Scribe