UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

17 lines 544 B
/** * ```js * import { onStreamStopped } from '@amityco/ts-sdk-react-native' * const dispose = onStreamStopped(stream => { * // ... * }) * ``` * * Fired when a {@link Amity.InternalStream} has stopped 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 onStreamStopped: (callback: Amity.Listener<Amity.InternalStream>) => Amity.Unsubscriber; //# sourceMappingURL=onStreamStopped.d.ts.map