Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coopernurse/node-pool
/ fbind
Function
fbind
lib/ResourceRequest.js:6–10 ·
view source on GitHub ↗
(fn, ctx)
Source
from the content-addressed store, hash-verified
4
const
errors = require(
"./errors"
);
5
6
function
fbind(fn, ctx) {
7
return
function
bound() {
8
return
fn.apply(ctx, arguments);
9
};
10
}
11
12
/**
13
* Wraps a users request
for
a resource
Callers
1
setTimeout
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected