ServiceWorker

org.http4s.dom.ServiceWorker$

Attributes

Source:
ServiceWorker.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def addFetchEventListener[F[_]](routes: HttpRoutes[F], contextKey: Key[FetchEventContext[F]])(implicit F: Async[F]): Resource[F, Unit]

Adds a listener for FetchEvent. If the event is not intercepted by routes then it is treated as an ordinary request. Additional context can be retrieved via FetchEventContext including a cats.effect.std.Supervisor for running background tasks after returning the response.

Adds a listener for FetchEvent. If the event is not intercepted by routes then it is treated as an ordinary request. Additional context can be retrieved via FetchEventContext including a cats.effect.std.Supervisor for running background tasks after returning the response.

Attributes

Source:
ServiceWorker.scala

Adds a listener for FetchEvent. If the event is not intercepted by routes then it is treated as an ordinary request. Additional context can be retrieved via FetchEventContext including a cats.effect.std.Supervisor for running background tasks after returning the response.

Adds a listener for FetchEvent. If the event is not intercepted by routes then it is treated as an ordinary request. Additional context can be retrieved via FetchEventContext including a cats.effect.std.Supervisor for running background tasks after returning the response.

Attributes

Source:
ServiceWorker.scala

Deprecated methods

def addFetchEventListener(routes: IO[HttpRoutes[IO]])(implicit runtime: IORuntime): SyncIO[SyncIO[Unit]]

Attributes

Deprecated
true
Source:
ServiceWorker.scala