For AI agents: the complete documentation index is available at https://scriptedalchemy.github.io/agent-bundle/llms.txt, the full documentation bundle is available at https://scriptedalchemy.github.io/agent-bundle/llms-full.txt, and this page is available as Markdown at https://scriptedalchemy.github.io/agent-bundle/api/interfaces/mcp-entry.LifecycleTransport.md.
  • English
  • Interface: LifecycleTransport

    Properties

    onclose?

    optional onclose?: () => void

    Returns

    void


    onmessage?

    optional onmessage?: (message, extra?) => void

    Parameters

    message

    never

    extra?

    undefined

    Returns

    void

    Methods

    close()

    close(): void | Promise<void>

    Returns

    void | Promise<void>