()
| 29 | * Cached after first call. |
| 30 | */ |
| 31 | export function getResolvedCapabilities(): ReadonlySet<Capability> { |
| 32 | if (_resolvedCaps) { |
| 33 | return _resolvedCaps |
| 34 | } |
| 35 | const auth = getAuthProvider() |
| 36 | const access = getAccessMode() |
| 37 | _resolvedCaps = getCapabilities(BUILD_SPIN, auth, access) |
| 38 | return _resolvedCaps |
| 39 | } |
| 40 | |
| 41 | /** |
| 42 | * Check if a capability is enabled in the current runtime configuration. |
no test coverage detected