diff --git a/README.md b/README.md index 9bf8b15..2145cb2 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,8 @@ lorraine = { module = "io.github.dottttt.lorraine:lorraine", version.ref = "lorr #### Initialization +Initialize Lorraine with workers. + ```kotlin const val GET_WORKER = "GET_WORKER" @@ -29,6 +31,8 @@ lorraine { } ``` +Create workers by extending `WorkLorraine` + ```kotlin class GetWorker : WorkLorraine() { @@ -40,6 +44,8 @@ class GetWorker : WorkLorraine() { } ``` +Launch your worker + ```kotlin Lorraine.enqueue( uniqueId = "UNIQUE_ID",