Skip to content

Commit 6455367

Browse files
committed
removed unused variable
1 parent 7cabe7f commit 6455367

File tree

4 files changed

+14
-4
lines changed

4 files changed

+14
-4
lines changed

build.sbt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
val dottyVersion = "3.0.2"
33
//val dottyVersion = dottyLatestNightlyBuild.get
44

5-
ThisBuild/version := "2.1.0"
5+
ThisBuild/version := "2.1.1-SNAPSHOT"
66
ThisBuild/versionScheme := Some("semver-spec")
77

88
val sharedSettings = Seq(
@@ -42,7 +42,7 @@ lazy val gopher = crossProject(JSPlatform, JVMPlatform)
4242
s"-javaagent:${System.getProperty("user.home")}/.ivy2/local/com.github.rssh/trackedfuture_3/0.5.0/jars/trackedfuture_3-assembly.jar"
4343
)
4444
*/
45-
mimaPreviousArtifacts := Set( "com.github.rssh" %% "scala-gopher" % "2.0.6")
45+
mimaPreviousArtifacts := Set( "com.github.rssh" %% "scala-gopher" % "2.1.0")
4646
).jsSettings(
4747
libraryDependencies += ("org.scala-js" %%% "scalajs-java-logging" % "1.0.0").cross(CrossVersion.for3Use2_13),
4848
// TODO: switch to ModuleES ?

jvm/src/main/scala/gopher/JVMGopher.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ object JVMGopher extends GopherAPI:
5454
case jcfg:JVMGopherConfig => jcfg
5555
new JVMGopher[F](jvmConfig)
5656

57-
lazy val timer = new Timer("gopher")
57+
//lazy val timer = new Timer("gopher")
5858

5959
lazy val scheduledExecutor = Executors.newScheduledThreadPool(1)
6060

shared/src/main/scala/gopher/Gopher.scala

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,19 @@ import java.util.concurrent.Executor
1111

1212
/**
1313
* core of GopherAPI.
14-
*Given instance of Gopher[F] need for using most of Gopher operations.
14+
* Given instance of Gopher[F] need for using most of Gopher operations.
15+
*
16+
* Gopehr API ia a framework, which implements CSP (Communication Sequence Process).
17+
* Process here - scala units of execution (i.e. )
1518
**/
1619
trait Gopher[F[_]:CpsSchedulingMonad]:
1720

1821
type Monad[X] = F[X]
22+
23+
1924
def asyncMonad: CpsSchedulingMonad[F] = summon[CpsSchedulingMonad[F]]
2025

26+
2127
def makeChannel[A](bufSize:Int = 0,
2228
autoClose: Boolean = false): Channel[F,A,A]
2329

shared/src/main/scala/gopher/Time.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ import java.util.TimerTask
2121
*/
2222
abstract class Time[F[_]](gopherAPI: Gopher[F]) {
2323

24+
/**
25+
* type for using in `select` paterns.
26+
* @see [gopher.Select]
27+
**/
2428
type after = FiniteDuration
2529

2630
def after(duration: FiniteDuration): ReadChannel[F,FiniteDuration] =

0 commit comments

Comments
 (0)