MCPcopy Create free account
hub / github.com/Effect-TS/tsgo / AcquireProgram

Function AcquireProgram

internal/effecttest/vfs.go:26–26  ·  view source on GitHub ↗

AcquireProgram acquires a slot from the program semaphore.

()

Source from the content-addressed store, hash-verified

24
25// AcquireProgram acquires a slot from the program semaphore.
26func AcquireProgram() { programSemaphore <- struct{}{} }
27
28// ReleaseProgram releases a slot back to the program semaphore, clears
29// per-program caches to allow GC of the program, and triggers GC.

Callers 6

evaluatePreviewFunction · 0.92
RunEffectQuickFixTestFunction · 0.85
RunEffectRefactorTestFunction · 0.85
RunEffectTestFunction · 0.85

Calls

no outgoing calls

Tested by 2

evaluatePreviewFunction · 0.74