Type Alias Nemo Relay Native Async LlmStream Open Cb

View as Markdown

Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.

pub type NemoRelayNativeAsyncLlmStreamOpenCb = unsafe extern "C" fn(user_data: *mut c_void, stream: *const NemoRelayNativeLlmAsyncStream, error: *const NemoRelayNativeString);

Receives the result of asynchronously opening a downstream LLM stream.

Exactly one of stream and error is non-null. A non-null stream is an owned plugin reference and must be released exactly once.