UNPKG

@amityco/ts-sdk-react-native

Version:

Amity Social Cloud Typescript SDK

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