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.
The callback should allow error handling, for example:
(Nullable Error) -> Effect Unitthough the error value passed to the callback may beundefinedor jsError.