Skip to content

Commit 11928fc

Browse files
loggingEC -> handlerEC
To avoid assumption about callback usage
1 parent e75cbd5 commit 11928fc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/scala/com/gu/etagcaching/Loading.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ object Loading {
5353
/**
5454
* Wrapper round an underlying instance of Loading which adds handler for doing side-effectful logging of updates.
5555
*
56-
* @param loggingEC ExecutionContext for the `handler` function to run in
56+
* @param handlerEC ExecutionContext for the `handler` function to run in
5757
*/
58-
case class OnUpdate[K, V](underlying: Loading[K, V])(handler: Update[K,V] => Unit)(implicit loggingEC: ExecutionContext)
58+
case class OnUpdate[K, V](underlying: Loading[K, V])(handler: Update[K,V] => Unit)(implicit handlerEC: ExecutionContext)
5959
extends Loading[K, V] {
6060

6161
override def fetchAndParse(key: K): Future[MissingOrETagged[V]] =

0 commit comments

Comments
 (0)