MCPcopy Index your code
hub / github.com/molnarg/node-http2 / createFlow

Function createFlow

test/flow.js:8–13  ·  view source on GitHub ↗
(log)

Source from the content-addressed store, hash-verified

6var MAX_PAYLOAD_SIZE = 16384;
7
8function createFlow(log) {
9 var flowControlId = util.random(10, 100);
10 var flow = new Flow(flowControlId);
11 flow._log = util.log.child(log || {});
12 return flow;
13}
14
15describe('flow.js', function() {
16 describe('Flow class', function() {

Callers 1

flow.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected