Module
Node.FS.Async
- Package
- purescript-node-fs
- Repository
- purescript-node/purescript-node-fs
#fdRead Source
fdRead :: forall eff. FileDescriptor -> Buffer -> BufferOffset -> BufferLength -> Maybe FilePosition -> Callback (buffer :: BUFFER | eff) ByteCount -> Eff (buffer :: BUFFER, fs :: FS | eff) Unit
Read from a file asynchronously. See the Node Documentation for details.
#fdWrite Source
fdWrite :: forall eff. FileDescriptor -> Buffer -> BufferOffset -> BufferLength -> Maybe FilePosition -> Callback (buffer :: BUFFER | eff) ByteCount -> Eff (buffer :: BUFFER, fs :: FS | eff) Unit
Write to a file asynchronously. See the Node Documentation for details.
#fdClose Source
fdClose :: forall eff. FileDescriptor -> Callback eff Unit -> Eff (fs :: FS | eff) Unit
Close a file asynchronously. See the Node Documentation for details.