trait ProcessRunner[F[_]] extends AnyRef
Interface for running processes and process groups
The default implementation is JVMProcessRunner
- F
Effect type
- Alphabetic
- By Inheritance
- ProcessRunner
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- implicit abstract val concurrent: Concurrent[F]
-
abstract
def
startProcess[O, E](process: Process[F, O, E], blocker: Blocker): F[RunningProcess[F, O, E]]
Starts the process asynchronously and returns the RunningProcess interface for it
Starts the process asynchronously and returns the RunningProcess interface for it
- O
Output type
- E
Error output type
- process
The process to be started
- blocker
Execution context for blocking operations
- returns
interface for handling the running process
-
abstract
def
startProcessGroup[O, E](processGroup: ProcessGroup[F, O, E], blocker: Blocker): F[RunningProcessGroup[F, O, E]]
Starts a process group asynchronously and returns an interface for them
Starts a process group asynchronously and returns an interface for them
- O
Output type
- E
Error output type
- processGroup
The process group to start
- blocker
Execution context for blocking operations
- returns
interface for handling the running process group
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
start[O, E](processGroup: ProcessGroup[F, O, E], blocker: Blocker): Resource[F, Fiber[F, ProcessGroupResult[F, O, E]]]
Starts the process group asynchronously and returns a managed fiber representing it
Starts the process group asynchronously and returns a managed fiber representing it
Joining the fiber means waiting until the process gets terminated. Cancelling the fiber terminates the process.
- O
Output type
- E
Error output type
- processGroup
The process group to be started
- blocker
Execution context for blocking operations
- returns
interface for handling the running process
-
def
start[O, E](process: Process[F, O, E], blocker: Blocker): Resource[F, Fiber[F, ProcessResult[O, E]]]
Starts the process asynchronously and returns a managed fiber representing it
Starts the process asynchronously and returns a managed fiber representing it
Joining the fiber means waiting until the process gets terminated. Cancelling the fiber terminates the process.
- O
Output type
- E
Error output type
- process
The process to be started
- blocker
Execution context for blocking operations
- returns
interface for handling the running process
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()