LiteRtLmStreamCallbackFunction typedef

LiteRtLmStreamCallbackFunction = Void Function(Pointer<Void> callback_data, Pointer<Char> chunk, Bool is_final, Pointer<Char> error_msg)

Implementation

typedef LiteRtLmStreamCallbackFunction =
    ffi.Void Function(
      ffi.Pointer<ffi.Void> callback_data,
      ffi.Pointer<ffi.Char> chunk,
      ffi.Bool is_final,
      ffi.Pointer<ffi.Char> error_msg,
    );