object Buffer
- Companion
- class
Type members
Value members
Concrete methods
Utility resource creation that defers buffer disposal until point where node has been freed.
Utility resource creation that defers buffer disposal until point where node has been freed.
def writeWithNode(buf: Buffer, nr: NodeRef, path: String)(action: => Unit)(implicit exec: ExecutionContext): Resource
Writes the buffer content to a file when the node ends. The caller is responsible for eventually freeing the buffer! This is because we do not open a transaction after writing completes.
Writes the buffer content to a file when the node ends. The caller is responsible for eventually freeing the buffer! This is because we do not open a transaction after writing completes.