MCPcopy Create free account
hub / github.com/aws/aws-lambda-go / unixMS

Function unixMS

lambda/invoke_loop.go:26–28  ·  view source on GitHub ↗

TODO: replace with time.UnixMillis after dropping version <1.17 from CI workflows

(ms int64)

Source from the content-addressed store, hash-verified

24
25// TODO: replace with time.UnixMillis after dropping version <1.17 from CI workflows
26func unixMS(ms int64) time.Time {
27 return time.Unix(ms/msPerS, (ms%msPerS)*nsPerMS)
28}
29
30func doRuntimeAPILoop(ctx context.Context, client *runtimeAPIClient, handler *handlerOptions) error {
31 for {

Callers 1

parseDeadlineFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…