Package-level declarations
Functions
Link copied to clipboard
inline fun <T : StartPlugin> createStartupPluginAndRegister(name: String = uuid4().toString(), block: (String) -> T): T
inline fun <T : StartPlugin> createStartupPluginAndRegister(kClass: KClass<T>, name: String = uuid4().toString(), block: (String) -> T): T
Creates T using block, register it in StartPluginSerializer using its StartPluginSerializer.registerPlugin and returns created by block plugin