mirror of
https://github.com/mamoe/mirai.git
synced 2025-02-08 21:02:28 +08:00
Add ConcurrentComponentStorage
builder
This commit is contained in:
parent
e6119e6301
commit
24ac4ffa95
@ -59,6 +59,10 @@ internal class ConcurrentComponentStorage(
|
||||
}
|
||||
}
|
||||
|
||||
internal inline fun ConcurrentComponentStorage(builderAction: ConcurrentComponentStorage.() -> Unit): ConcurrentComponentStorage {
|
||||
return ConcurrentComponentStorage().apply(builderAction)
|
||||
}
|
||||
|
||||
private val SHOW_ALL_COMPONENTS: Boolean by lazy(NONE) { systemProp("mirai.debug.network.show.all.components", false) }
|
||||
private val SHOW_COMPONENTS_CREATION_STACKTRACE: Boolean by lazy(NONE) {
|
||||
systemProp(
|
||||
|
Loading…
Reference in New Issue
Block a user