You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* update readme instructions & version
* add full package example
* Update README.md
Co-authored-by: Franz Busch <[email protected]>
* Update README.md
Co-authored-by: Franz Busch <[email protected]>
* add getting started to docc index
---------
Co-authored-by: Franz Busch <[email protected]>
Copy file name to clipboardExpand all lines: Sources/ServiceLifecycle/Docs.docc/index.md
+40Lines changed: 40 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,6 +22,46 @@ to their business logic if and how to do that.
22
22
Library authors should conform their services to the ``Service`` protocol and application authors
23
23
should use the ``ServiceGroup`` to orchestrate all their services.
24
24
25
+
## Getting started
26
+
27
+
If you have a server-side Swift application or a cross-platform (e.g. Linux, macOS) application, and you would like to manage its startup and shutdown lifecycle, Swift Service Lifecycle is a great idea. Below you will find all you need to know to get started.
28
+
29
+
### Adding the dependency
30
+
31
+
To add a dependency on the package, declare it in your `Package.swift`:
0 commit comments