comAtprotoLabelSubscribeLabels function

Future<XRPCResponse<Subscription<Uint8List>>> comAtprotoLabelSubscribeLabels({
  1. int? cursor,
  2. required ServiceContext $ctx,
})

Subscribe to stream of labels (and negations). Public endpoint implemented by mod services. Uses same sequencing scheme as repo event stream.

Implementation

Future<XRPCResponse<Subscription<Uint8List>>> comAtprotoLabelSubscribeLabels({
  int? cursor,
  required ServiceContext $ctx,
}) async => await $ctx.stream(
  ns.comAtprotoLabelSubscribeLabels,
  parameters: {if (cursor != null) 'cursor': cursor},
);