Skip to content

Commit 286a536

Browse files
update docs
1 parent a208757 commit 286a536

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/reference/koin-annotations/definitions.md

+1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Koin Annotations keep the same semantic as the Koin DSL. You can declare your co
1717
- `@Single` - singleton instance (declared with `single { }` in DSL)
1818
- `@Factory` - factory instance. For instances recreated each time you need an instance. (declared with `factory { }` in DSL)
1919
- `@KoinViewModel` - Android ViewModel instance (declared with `viewModel { }` in DSL)
20+
- `@KoinWorker` - Android Worker Workmanager instance (declared with `worker { }` in DSL)
2021

2122
For Scopes, check the [Declaring Scopes](/docs/reference/koin-core/scopes.md) section.
2223

docs/reference/koin-annotations/kmp.md

+1
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ class PlatformModule
5555

5656
// package com.jetbrains.kmpapp.platform
5757

58+
@Single
5859
expect class PlatformHelper {
5960
fun getName() : String
6061
}

0 commit comments

Comments
 (0)