MCPcopy Index your code
hub / github.com/FunctionStream/function-stream / Close

Method Close

fs/manager.go:312–325  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

310}
311
312func (fm *functionManagerImpl) Close() error {
313 fm.functionsLock.Lock()
314 defer fm.functionsLock.Unlock()
315 for _, instances := range fm.functions {
316 for _, instance := range instances {
317 instance.Stop()
318 }
319 }
320 err := fm.options.stateStore.Close()
321 if err != nil {
322 return err
323 }
324 return nil
325}

Callers

nothing calls this directly

Calls 2

StopMethod · 0.65
CloseMethod · 0.65

Tested by

no test coverage detected