Packages › trotsky › StepStreamPosts
StepStreamPosts class
Represents a streaming step that processes posts in real-time.
Signature:
typescript
export declare class StepStreamPosts<P, C = unknown, O = StepPostOutput> extends StepBuilderStream<P, C, O>
Extends: StepBuilderStream<P, C, O>
Remarks
This class allows for the streaming and processing of posts as they are committed to the network. To achieve this, it utilizes the Bluesky Firehose API to listen for post events and process them in real-time. The stream can use a lot of bandwidth since it processes every post event.
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
StepPostsEntry<this>[] |
Methods
Method | Modifiers | Description |
---|---|---|
Builds and returns an event emitter configured for post events. | ||
Adds a StepPostsEntry step to the stream. | ||
Resolves the output for a given commit message. |