()
| 44 | * The isolation scope is active for the current execution context. |
| 45 | */ |
| 46 | export function getIsolationScope(): Scope { |
| 47 | const carrier = getMainCarrier(); |
| 48 | const acs = getAsyncContextStrategy(carrier); |
| 49 | return acs.getIsolationScope(); |
| 50 | } |
| 51 | |
| 52 | /** |
| 53 | * Get the global scope. |