invoke

suspend operator fun invoke(config: PulvreaktConfiguration, device: String, id: Int, host: Host): Either<RuntimeError, PulvreaktRuntime>

Smart constructor for PulvreaktRuntime.

Return

an Either with RuntimeError on the left side and PulvreaktRuntime on the right side.