Skip to content

Stream write callback doesn't allow handling errors #35

@wclr

Description

@wclr
foreign import writeStringImpl
  :: forall r
   . Writable r
  -> String
  -> String
  -> Effect Unit -- callback should allow error handling
  -> Effect Boolean

The callback should allow error handling, for example:
(Nullable Error) -> Effect Unit though the error value passed to the callback may be undefined or js Error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    purs-0.15A reminder to address this issue or merge this PR before we release PureScript v0.15.0type: breaking changeA change that requires a major version bump.type: enhancementA new feature or addition.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions