Merge pull request #22969 from backstage/rugvip/noawait

docs/plugins/new-backend-system: remove await
This commit is contained in:
Patrik Oldsberg
2024-02-15 13:11:26 +01:00
committed by GitHub
+1 -1
View File
@@ -26,7 +26,7 @@ const backend = createBackend();
backend.add(import('@backstage/plugin-catalog-backend'));
// Start up the backend
await backend.start();
backend.start();
```
One notable change that helped achieve this much slimmer backend setup is the introduction of a system for dependency injection, which is very similar to the one in the Backstage frontend.