Provider

ldbc.sql.Provider
trait Provider[F[_]]

Trait for aggregating settings for building connections and providing connections to users.

Type parameters

F

the effect type

Attributes

Source
Provider.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

Handler for outputting logs of process execution using connections.

Handler for outputting logs of process execution using connections.

Attributes

Source
Provider.scala
def use[A](f: (Connection[F]) => F[A]): F[A]

Allocates a resource and supplies it to the given function. The resource is released as soon as the resulting F[A] is completed, whether normally or as a raised error.

Allocates a resource and supplies it to the given function. The resource is released as soon as the resulting F[A] is completed, whether normally or as a raised error.

Type parameters

A

the result of applying [F] to

Value parameters

f

the function to apply to the allocated resource

Attributes

Source
Provider.scala