Table of Contents

Delegate NativeAPI.StreamCallback

Callback for streaming responses.

public delegate void NativeAPI.StreamCallback(nint callbackData, nint chunk)

Parameters

callbackData nint

A pointer to user-defined data passed to the stream function.

chunk nint

A pointer to the stream chunk object. It's only valid for the duration of the call.