Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
1
let
counter = 0;
2
3
function
newScope(): string {
4
return
`cycle${++counter}`;
5
}
6
7
function
checkIsolateArgs<So, Si>(dataflowComponent: Component<So, Si>, scope: any) {
8
if
(typeof dataflowComponent !== `
function
`) {
Callers
1
isolate
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected