MCPcopy Create free account
hub / github.com/astercloud/aster / IsAvailable

Method IsAvailable

pkg/tools/bridge/runtime.go:373–376  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

371}
372
373func (r *NodeJSRuntime) IsAvailable() bool {
374 _, err := exec.LookPath(r.nodePath)
375 return err == nil
376}
377
378func (r *NodeJSRuntime) Execute(ctx context.Context, code string, input map[string]any) (*ExecutionResult, error) {
379 start := time.Now()

Callers 1

Calls

no outgoing calls

Tested by 1