MCPcopy Index your code
hub / github.com/aws/aws-lambda-runtime-interface-emulator / GetState

Method GetState

internal/lambda/core/states.go:134–138  ·  view source on GitHub ↗

GetState ...

()

Source from the content-addressed store, hash-verified

132
133// GetState ...
134func (s *Runtime) GetState() RuntimeState {
135 s.ManagedThread.Lock()
136 defer s.ManagedThread.Unlock()
137 return s.currentState
138}
139
140// Ready delegates to state implementation.
141func (s *Runtime) Ready() error {

Calls 2

LockMethod · 0.65
UnlockMethod · 0.65