* If the source is being created inside the same reaction as the SvelteMap instance, * we use `state` so that it will not be a dependency of the reaction. Otherwise we * use `source` so it will be. * * @template T * @param {T} value * @returns {Source }
(value)
| 89 | * @returns {Source<T>} |
| 90 | */ |
| 91 | #source(value) { |
| 92 | return update_version === this.#update_version ? state(value) : source(value); |
| 93 | } |
| 94 | |
| 95 | /** @param {K} key */ |
| 96 | has(key) { |