docs: added a services constraint document (#8999)

- Added a services constraint document mentioning that a service's methods must be async.
- Modify the code in the services intro document to use `async` method.
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-09-10 18:00:23 +00:00
1 parent c097931469
commit 1466ca73e0
4 files changed
+43 -3

No files matched your search

+5
View File
@@ -150,6 +150,11 @@ export const sidebar = numberSidebarItems(
path: "/advanced-development/modules/service-factory",
title: "Service Factory",
},
{
type: "link",
path: "/advanced-development/modules/service-constraints",
title: "Service Constraints",
},
{
type: "link",
path: "/advanced-development/modules/isolation",