UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 556 B
/** * ```js * import { onStreamTerminated } from '@amityco/ts-sdk-react-native' * const dispose = onStreamTerminated(stream => { * // ... * }) * ``` * * Fired when a {@link Amity.InternalStream} has started airing * * @param callback The function to call when the event was fired * @returns an {@link Amity.Unsubscriber} function to stop listening * * @category Stream Events */ export declare const onStreamTerminated: (callback: Amity.Listener<Amity.InternalStream>) => Amity.Unsubscriber; //# sourceMappingURL=onStreamTerminated.d.ts.map