Secondary

final class Secondary[Ctx, CtxFn[_], Step <: SubsequentStep[Ctx, CtxFn]](api: Secondary[Ctx, CtxFn, Step]) extends Primary[Ctx, Step]
class Primary[Ctx, Step]
class Object
trait Matchable
class Any

Value members

Concrete methods

def useResourceBy[D : Reusability, A](deps: CtxFn[D])(resource: CtxFn[D => Resource[Async, A]])(implicit evidence$2: 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 useResourceOnMountBy[A](resource: CtxFn[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.

Inherited 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.

Inherited from:
Primary
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.

Inherited from:
Primary
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.

Inherited from:
Primary
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.

Inherited from:
Primary