LlmResponseCallback typedef

LlmResponseCallback = Void Function(Pointer<Void>, Pointer<LlmResponseContext>)

Shape of the function MediaPipe calls with each additional response chunk from the LLM.

Implementation

typedef LlmResponseCallback = Void Function(
  Pointer<Void>,
  Pointer<bindings.LlmResponseContext>,
);