AshTypescript.Rpc.Codegen.FunctionGenerators.ChannelRenderer (ash_typescript v0.17.2)

Copy Markdown View Source

Renders Channel-specific TypeScript functions (handler-based, Phoenix channels).

Takes the function "shape" from FunctionCore and renders it as a Channel function using executeActionChannelPush.

Summary

Functions

render_execution_function(resource, action, rpc_action, rpc_action_name, opts \\ [])

Renders a Channel execution function (handler-based).

Options

  • :namespace - The resolved namespace for this action (used in JSDoc)

render_validation_function(resource, action, rpc_action, rpc_action_name, opts \\ [])

Renders a Channel validation function.

Options

  • :namespace - The resolved namespace for this action (used in JSDoc)