Packages › trotsky › StepListBlock
StepListBlock class
Represents a step that performs a list block operation using the Bluesky API. Blocking a list prevents content from users on that list from appearing.
Signature:
typescript
export declare class StepListBlock<P = StepList, C extends StepListOutput = StepListOutput, O = null> extends Step<P, C, O>Extends: Step<P, C, O>
Example
Block a specific list:
ts
await Trotsky.init(agent)
.list("at://did:plc:example/app.bsky.graph.list/listid")
.block()
.run()Methods
Method | Modifiers | Description |
|---|---|---|
Applies the step by performing a list block operation. Requires the context to provide the |