Last change
on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
860 bytes
|
Line | |
---|
1 | /**
|
---|
2 | * The global configuration object for RxJS, used to configure things
|
---|
3 | * like what Promise contructor should used to create Promises
|
---|
4 | */
|
---|
5 | export declare const config: {
|
---|
6 | /**
|
---|
7 | * The promise constructor used by default for methods such as
|
---|
8 | * {@link toPromise} and {@link forEach}
|
---|
9 | */
|
---|
10 | Promise: PromiseConstructorLike;
|
---|
11 | /**
|
---|
12 | * If true, turns on synchronous error rethrowing, which is a deprecated behavior
|
---|
13 | * in v6 and higher. This behavior enables bad patterns like wrapping a subscribe
|
---|
14 | * call in a try/catch block. It also enables producer interference, a nasty bug
|
---|
15 | * where a multicast can be broken for all observers by a downstream consumer with
|
---|
16 | * an unhandled error. DO NOT USE THIS FLAG UNLESS IT'S NEEDED TO BY TIME
|
---|
17 | * FOR MIGRATION REASONS.
|
---|
18 | */
|
---|
19 | useDeprecatedSynchronousErrorHandling: boolean;
|
---|
20 | };
|
---|
Note:
See
TracBrowser
for help on using the repository browser.