Merge pull request #8042 from backstage/freben/backend-context

[PRFC] Introduce the backend-common Context
This commit is contained in:
Fredrik Adelöw
2022-02-02 10:24:07 +01:00
committed by GitHub
14 changed files with 951 additions and 3 deletions
+11
View File
@@ -0,0 +1,11 @@
---
'@backstage/backend-common': patch
---
Added a `Context` type for the backend, that can propagate an abort signal, a
deadline, and contextual values through the call stack. The main entrypoint is
the `Contexts` utility class that provides a root context creator and commonly
used decorators.
These are marked as `@alpha` for now, and are therefore only accessible via
`@backstage/backend-common/alpha`.