+5
.changeset/yellow-hounds-heal.md
+5
.changeset/yellow-hounds-heal.md
···+Improve compatibility of `fromAsyncIterable` and `toAsyncIterable`. The `toAsyncIterable` will now output an object that's both an `AsyncIterator` and an `AsyncIterable`. Both helpers will now use a polyfill for `Symbol.asyncIterator` to improve compatibility with the Hermes engine and Babel transpilation.
+10
-7
src/__tests__/sinks.test.ts
+10
-7
src/__tests__/sinks.test.ts
············
+27
src/helpers.ts
+27
src/helpers.ts
······+* This symbol is used to mark an object as a default ES Observable. By the specification, an object+* that abides by the default Observable implementation must carry a method set to this well-known
+1
-22
src/observable.ts
+1
-22
src/observable.ts
······-* This symbol is used to mark an object as a default ES Observable. By the specification, an object-* that abides by the default Observable implementation must carry a method set to this well-known
+51
-40
src/sinks.ts
+51
-40
src/sinks.ts
···/** Creates a subscription to a given source and invokes a `subscriber` callback for each value.···
+11
-3
src/sources.ts
+11
-3
src/sources.ts
···import { Source, Sink, SignalKind, TalkbackKind, Observer, Subject, TeardownFn } from './types';···* @see {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Iteration_protocols#the_async_iterator_and_async_iterable_protocols}+export function fromAsyncIterable<T>(iterable: AsyncIterable<T> | AsyncIterator<T>): Source<T> {
+5
src/types.d.ts
+5
src/types.d.ts
···/** The {@link Source} that issues the signals as the {@link Observer} methods are called. */