File tree 5 files changed +85
-106
lines changed
5 files changed +85
-106
lines changed Original file line number Diff line number Diff line change @@ -76,9 +76,7 @@ We'll implement a dummy data source that can convert integers to strings. For co
76
76
import cats ._
77
77
import cats .data .NonEmptyList
78
78
import cats .effect ._
79
- import cats .instances .list ._
80
79
import cats .implicits ._
81
- import cats .syntax .all ._
82
80
83
81
import fetch ._
84
82
@@ -247,8 +245,6 @@ Fetch.run[IO](fetchMulti).unsafeRunTimed(5.seconds)
247
245
When fetching an identity, subsequent fetches for the same identity are cached. Let's try creating a fetch that asks for the same identity twice.
248
246
249
247
``` scala mdoc:silent
250
- import cats .syntax .all ._
251
-
252
248
def fetchTwice [F [_] : Concurrent ]: Fetch [F , (String , String )] = for {
253
249
one <- fetchString(1 )
254
250
two <- fetchString(1 )
@@ -269,16 +265,8 @@ executor.shutdownNow()
269
265
270
266
For more in-depth information, take a look at our [ documentation] ( https://47degrees.github.io/fetch/docs.html ) .
271
267
272
- ## Fetch in the wild
273
-
274
- If you wish to add your library here, please consider a PR to include it in the list below.
275
-
276
- [ comment ] : # ( Start Copyright )
277
-
278
268
# Copyright
279
269
280
270
Fetch is designed and developed by 47 Degrees
281
271
282
272
Copyright (C) 2016-2019 47 Degrees. < http://47deg.com >
283
-
284
- [ comment ] : # ( End Copyright )
Original file line number Diff line number Diff line change 1
1
import sbtcrossproject .CrossPlugin .autoImport .{crossProject , CrossType }
2
2
3
3
lazy val checkScalafmt = " +scalafmtCheck; +scalafmtSbtCheck;"
4
- lazy val checkDocs = " docs/tut ;"
4
+ lazy val checkDocs = " + docs/mdoc ;"
5
5
lazy val checkJSTests = " +fetchJS/test; +debugJS/test;"
6
6
lazy val checkJVMTests =
7
7
" +coverage; +fetchJVM/test; +debugJVM/test; +examples/test; +coverageReport; +coverageAggregate;"
@@ -10,7 +10,7 @@ addCommandAlias(
10
10
" ci-test" ,
11
11
s " $checkScalafmt $checkDocs $checkJSTests $checkJVMTests"
12
12
)
13
- addCommandAlias(" ci-docs" , " project-docs/mdoc; docs/tut; headerCreateAll" )
13
+ addCommandAlias(" ci-docs" , " project-docs/mdoc; headerCreateAll" )
14
14
addCommandAlias(" ci-microsite" , " docs/publishMicrosite" )
15
15
16
16
lazy val root = project
@@ -48,6 +48,7 @@ lazy val docs = (project in file("docs"))
48
48
.settings(docsSettings : _* )
49
49
.settings(skip in publish := true )
50
50
.enablePlugins(MicrositesPlugin )
51
+ .enablePlugins(MdocPlugin )
51
52
52
53
lazy val `project-docs` = (project in file(" .docs" ))
53
54
.aggregate(fetchJVM)
You can’t perform that action at this time.
0 commit comments