Type Alias: CompletionCallback()
@providerprotocol/ai / middleware/pubsub / CompletionCallback
Type Alias: CompletionCallback()
Section titled “Type Alias: CompletionCallback()”CompletionCallback = () =>
void
Defined in: src/middleware/pubsub/types.ts:35
Completion callback when stream ends.
Adapters should invoke this when PubSubAdapter.remove is called so subscriber streams can terminate before the stream is deleted.
Returns
Section titled “Returns”void