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
It would be nice to be able to create multiple scope instances of the same type.
For example, to make per-request scope, where each request has its own context.
module {
scope("request") { RequestContext() }
}
val request1 = getKoin().createScope("request")
val request2 = getKoin().createScope("request")
val context1 = get<RequestContext>(scope = request1)
val context2 = get<RequestContext>(scope = request2)
The text was updated successfully, but these errors were encountered:
It would be nice to be able to create multiple scope instances of the same type.
For example, to make per-request scope, where each request has its own context.
The text was updated successfully, but these errors were encountered: