Function
errorWithEAGAIN
(fd, buffer, offset, length, position, callback)
Source from the content-addressed store, hash-verified
| 8 | tmpdir.refresh(); |
| 9 | const file = tmpdir.resolve('writeStreamEAGAIN.txt'); |
| 10 | const errorWithEAGAIN = (fd, buffer, offset, length, position, callback) => { |
| 11 | callback(Object.assign(new Error(), { code: 'EAGAIN' }), 0, buffer); |
| 12 | }; |
| 13 | |
| 14 | describe('WriteStream EAGAIN', { concurrency: !process.env.TEST_PARALLEL }, () => { |
| 15 | it('_write', async () => { |
Callers
nothing calls this directly
Tested by
no test coverage detected