GtBridge (gt_bridge v0.19.2)

Copy Markdown View Source

I am the OTP application entry point: I start the supervision tree, register Phlow views, and start the TCP listener GT connects to.

Summary

Functions

Callback implementation for Application.start/2.

I bring the bridge up on port. This is the entry point GT calls once connected: I start xref indexing and the framed TCP transport, which carries every channel -- evals, completion, bindings, session close, and module events -- over one full-duplex socket. There is no client port: GT reads replies and events back on the socket it opened.

Functions

start(type, args)

Callback implementation for Application.start/2.

start_listener(port)

I bring the bridge up on port. This is the entry point GT calls once connected: I start xref indexing and the framed TCP transport, which carries every channel -- evals, completion, bindings, session close, and module events -- over one full-duplex socket. There is no client port: GT reads replies and events back on the socket it opened.