Package-level declarations

Types

Link copied to clipboard

A typealias for a function representing a plugin factory, used to produce plugin instances

Link copied to clipboard
typealias PluginMethod = suspend (args: ByteArray?, env: ByteArray?, invoker: Invoker) -> ByteArray

A typealias for a function representing a plugin method.

Link copied to clipboard
abstract class PluginModule<TConfig>(val config: TConfig)

An abstract class for plugin modules with a generic configuration type TConfig. This class is extended by the generated plugin module class.

Link copied to clipboard
data class PluginPackage<TConfig>(pluginModule: PluginModule<TConfig>, manifest: WrapManifest) : WrapPackage

Implementation of the WrapPackage interface for Plugin Wrap packages.

Link copied to clipboard
data class PluginWrapper<TConfig>(val module: PluginModule<TConfig>) : Wrapper

Represents a plugin wrapper, allowing the plugin module to be invoked as a Wrapper.