subscribeLabels method
Subscribe to stream of labels (and negations). Public endpoint implemented by mod services. Uses same sequencing scheme as repo event stream.
https://atprotodart.com/docs/lexicons/com/atproto/label/subscribeLabels
Implementation
Future<XRPCResponse<Subscription<USubscribeLabelsMessage>>> subscribeLabels({
int? cursor,
Map<String, dynamic>? $unknown,
}) async =>
await _ctx.stream(
ns.comAtprotoLabelSubscribeLabels,
parameters: {
if (cursor != null) 'cursor': cursor,
...?$unknown,
},
adaptor: subscribeLabelsAdaptor,
to: const USubscribeLabelsMessageConverter().fromJson,
);