JSGopher

gopher.JSGopher
See theJSGopher companion object
class JSGopher[F[_]](cfg: JSGopherConfig)(implicit evidence$1: CpsSchedulingMonad[F]) extends Gopher[F]

Attributes

Companion
object
Source
JSGopher.scala
Graph
Supertypes
trait Gopher[F]
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

type Monad[X] = F[X]

Attributes

Inherited from:
Gopher
Source
Gopher.scala

Value members

Concrete methods

def log(level: Level, message: String, ex: Throwable | Null): Unit

Attributes

Source
JSGopher.scala
def makeChannel[A](bufSize: Int, autoClose: Boolean): Channel[F, A, A]

Create Read/Write channel.

Create Read/Write channel.

Value parameters

autoClose
  • close after first message was written to channel.
bufSize
  • size of buffer. If it is zero, the channel is unbuffered. (i.e. writer is blocked until reader start processing).

Attributes

See also

[gopher.Channel]

Source
JSGopher.scala
def setLogFun(logFun: (Level, String, Throwable | Null) => Unit): (Level, String, Throwable | Null) => Unit

set logging function, which output internal diagnostics and errors from spawned processes.

set logging function, which output internal diagnostics and errors from spawned processes.

Attributes

Source
JSGopher.scala
def taskExecutionContext: ExecutionContext

Attributes

Source
JSGopher.scala

Inherited methods

def asyncMonad: CpsSchedulingMonad[F]

Monad which control asynchronic execution. The main is scheduling: i.e. ability to submit monadic expression to scheduler and know that this monadic expression will be evaluated.

Monad which control asynchronic execution. The main is scheduling: i.e. ability to submit monadic expression to scheduler and know that this monadic expression will be evaluated.

Attributes

Inherited from:
Gopher
Source
Gopher.scala
def log(level: Level, message: String): Unit

Attributes

Inherited from:
Gopher
Source
Gopher.scala
def makeOnceChannel[A](): Channel[F, A, A]

Create channel where you can write only one element.

Create channel where you can write only one element.

Attributes

See also

[gopher.Channel]

Inherited from:
Gopher
Source
Gopher.scala
def select: Select[F]

Create a select statement, which used for choosing one action from a set of potentially concurrent asynchronics events. [@see gopher.Select#apply

Create a select statement, which used for choosing one action from a set of potentially concurrent asynchronics events. [@see gopher.Select#apply

Attributes

Inherited from:
Gopher
Source
Gopher.scala

Concrete fields

val time: Time[F]

get an object with time operations.

get an object with time operations.

Attributes

See also
Source
JSGopher.scala