(controller, promise)
| 961 | let current; |
| 962 | |
| 963 | function createWriteWrap(controller, promise) { |
| 964 | const req = new WriteWrap(); |
| 965 | req.handle = streamBase; |
| 966 | req.oncomplete = onWriteComplete; |
| 967 | req.async = false; |
| 968 | req.bytes = 0; |
| 969 | req.buffer = null; |
| 970 | req.controller = controller; |
| 971 | req.promise = promise; |
| 972 | return req; |
| 973 | } |
| 974 | |
| 975 | function onWriteComplete(status) { |
| 976 | if (status < 0) { |
no outgoing calls
no test coverage detected
searching dependent graphs…