MCPcopy Create free account
hub / github.com/cyclejs/cyclejs / newScope

Function newScope

isolate/src/index.ts:3–5  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1let counter = 0;
2
3function newScope(): string {
4 return `cycle${++counter}`;
5}
6
7function checkIsolateArgs<So, Si>(dataflowComponent: Component<So, Si>, scope: any) {
8 if (typeof dataflowComponent !== `function`) {

Callers 1

isolateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected