File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/routes/reference/reactive-utilities Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -42,13 +42,13 @@ Accessor used as the observable source.
4242
4343- ** Type:** ` Observable<T> `
4444
45- Returns an object with ` subscribe() ` and ` [Symbol.observable]() ` .
45+ Returns an object with ` subscribe() ` and ` [Symbol.observable]() ` that returns the same object .
4646
4747## Behavior
4848
49- - The returned object is compatible with Observable interop based on ` Symbol.observable ` .
50- - Subscriptions receive values from the accessor.
51- - Observable libraries can consume the returned object through standard Observable interop .
49+ - ` subscribe() ` accepts either a function observer or an object observer with ` next ` .
50+ - Each subscription creates an effect over the accessor and returns an object with ` unsubscribe() ` .
51+ - If subscription happens inside an owned Solid scope, cleanup is also registered on that owner .
5252
5353## Examples
5454
You can’t perform that action at this time.
0 commit comments