Primary

sealed class Primary[Ctx, Step <: AbstractStep](api: Primary[Ctx, Step])
class Object
trait Matchable
class Any
class Secondary[Ctx, CtxFn, Step]

Value members

Concrete methods

final def useResource[D : Reusability, A](deps: => D)(resource: D => Resource[Async, A])(implicit evidence$3: Reusability[D], step: Step): Next[Pot[A]]

Open a Resource[Async, A] on mount or when dependencies change, and close it on unmount or when dependencies change. Provided as a Pot[A]. Will rerender when the Pot state changes.

Open a Resource[Async, A] on mount or when dependencies change, and close it on unmount or when dependencies change. Provided as a Pot[A]. Will rerender when the Pot state changes.

final def useResourceBy[D : Reusability, A](deps: Ctx => D)(resource: Ctx => D => Resource[Async, A])(implicit evidence$4: Reusability[D], step: Step): Next[Pot[A]]

Open a Resource[Async, A] on mount or when dependencies change, and close it on unmount or when dependencies change. Provided as a Pot[A]. Will rerender when the Pot state changes.

Open a Resource[Async, A] on mount or when dependencies change, and close it on unmount or when dependencies change. Provided as a Pot[A]. Will rerender when the Pot state changes.

final def useResourceOnMount[A](resource: Resource[Async, A])(implicit step: Step): Next[Pot[A]]

Open a Resource[Async, A] on mount and close it on unmount. Provided as a Pot[A]. Will rerender when the Pot state changes.

Open a Resource[Async, A] on mount and close it on unmount. Provided as a Pot[A]. Will rerender when the Pot state changes.

final def useResourceOnMountBy[A](resource: Ctx => Resource[Async, A])(implicit step: Step): Next[Pot[A]]

Open a Resource[Async, A] on mount and close it on unmount. Provided as a Pot[A]. Will rerender when the Pot state changes.

Open a Resource[Async, A] on mount and close it on unmount. Provided as a Pot[A]. Will rerender when the Pot state changes.