diff --git "a/classes/types.react-declarative.BehaviorSubject.html" "b/classes/types.react-declarative.BehaviorSubject.html"
new file mode 100644--- /dev/null
+++ "b/classes/types.react-declarative.BehaviorSubject.html"
@@ -0,0 +1,115 @@
+
BehaviorSubject | react-declarativeClass BehaviorSubject<Data>
Observables
Other
constructor
Parameters
Optional_data: null | Data
data
Returns null | Data
The data stored in the instance.
+
delay
filter
Type declaration
- (callbackfn: (value: Data) => boolean): TObserver<Data>
Parameters
- callbackfn: (value: Data) => boolean
+- A new observer with filtered values.
+
+
flatMap
Type declaration
- <T = any>(callbackfn: (value: Data) => T[]): TObserver<T>
Parameters
- callbackfn: (value: Data) => T[]
+- The observer that emits the flattened values.
+
+
map
Type declaration
- <T = any>(callbackfn: (value: Data) => T): TObserver<T>
Parameters
- callbackfn: (value: Data) => T
+- An observer with the mapped values.
+
+
mapAsync
mapAsync: <T = any>( callbackfn: (value: Data) => Promise<T>, fallbackfn?: (e: Error) => void,) => TObserver<T> Type declaration
- <T = any>(
callbackfn: (value: Data) => Promise<T>,
fallbackfn?: (e: Error) => void,
): TObserver<T> Parameters
- callbackfn: (value: Data) => Promise<T>
Optionalfallbackfn: (e: Error) => void
+- Returns a new observer that emits the mapped values.
+
+
merge
next
next: (data: Data) => Promise<void> once
once: (callback: Function) => () => void
Type declaration
- (callback: Function): () => void
Returns () => void
+- A function that removes the registered event listener.
+
+
reduce
Type declaration
- <T = any>(callbackfn: (acm: T, cur: Data) => T, begin: T): TObserver<T>
Parameters
- callbackfn: (acm: T, cur: Data) => T
- begin: T
+- An observer that emits the accumulated value when the original observer completes
+
+
repeat
split
split: () => Observer< readonly (
Data extends readonly InnerArr[] ? InnerArr extends readonly InnerArr[] ��
? InnerArr extends readonly InnerArr[] ? InnerArr extends readonly InnerArr[] ? InnerArr extends readonly InnerArr[] ? InnerArr extends readonly InnerArr[] ? InnerArr extends readonly (...)
[] ? (...)
extends (...)
? (...)
: (...)
: InnerArr : InnerArr : InnerArr : InnerArr : InnerArr : InnerArr : Data )
[],> Type declaration
- (): Observer<
readonly (
Data extends readonly InnerArr[]
? InnerArr extends readonly InnerArr[]
? InnerArr extends readonly InnerArr[]
? InnerArr extends readonly InnerArr[]
? InnerArr extends readonly InnerArr[]
? InnerArr extends readonly InnerArr[]
? InnerArr extends readonly (...)[]
? (...) extends (...) ? (...) : (...)
: InnerArr
: InnerArr
: InnerArr
: InnerArr
: InnerArr
: InnerArr
: Data
)[],
> Returns Observer<
readonly (
Data extends readonly InnerArr[]
? InnerArr extends readonly InnerArr[]
? InnerArr extends readonly InnerArr[]
? InnerArr extends readonly InnerArr[]
? InnerArr extends readonly InnerArr[]
? InnerArr extends readonly InnerArr[]
? InnerArr extends readonly (...)[]
? (...) extends (...) ? (...) : (...)
: InnerArr
: InnerArr
: InnerArr
: InnerArr
: InnerArr
: InnerArr
: Data
)[],
>
+- The observer that emits batches of arrays.
+
+
subscribe
subscribe: (callback: Function) => () => void
Type declaration
- (callback: Function): () => void
Returns () => void
+- A function to unsubscribe from the event.
+
+
tap
toIteratorContext
toIteratorContext: () => { done(): void; iterate(): AsyncGenerator<Data, void, unknown>;} toPromise
toPromise: () => Promise<Data> unsubscribeAll
unsubscribeAll: () => void
Represents a BehaviorSubject that extends the Subject class and provides the functionality of an observable and an observer.
+