UNPKG

@amityco/ts-sdk

Version:

Amity Social Cloud Typescript SDK

11 lines 563 B
/** * Subscribes to a block MQTT event (`user.didBlock` / `user.didUnblock`), * ingests the carried `FollowersPayload` (follows + users) into the cache so * the block-relationship rows (`['follow', 'get', from#to]`) and user rows are * kept current, then forwards the affected {@link Amity.FollowStatus} to the * caller. * * @hidden */ export declare const createBlockEventSubscriber: (event: keyof Amity.MqttBlockEvents, callback: Amity.Listener<Amity.InternalFollowStatus>) => Amity.Unsubscriber; //# sourceMappingURL=createBlockEventSubscriber.d.ts.map