Skip to content

lifecycle hook apis #1981

Closed
Closed
@matzew

Description

@matzew

Looking at the Go lang tempaltes, I am seeing some nice hooks to plug into the lifecycle of a function:
https://github.com/knative/func/blob/main/templates/go/.instanced-http/function.go#L34-L69

It would be nice if other SDKs/languages, such as Node.js, quarkus would have these APIs:

  • Start
  • Stop
  • Alive
  • Ready

Seems pretty handy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions