Skip to content

Question - useAff #18

Closed
Closed
@piq9117

Description

@piq9117

Am I understanding this correctly? If so, can I submit this as PR?

-- | `useAff` is used for asynchronous effects. This function uses `useEffect` which tracks
-- | the `key`. When the `key` changes, `useAff` will perform another asynchronous effect.
useAff ::
  forall key a.
  Eq key =>
  key ->
  Aff a ->
  Hook (UseAff key a) (Result a)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions