Show / Hide Table of Contents

Interface IPostProcessor

Processes posts

Namespace: Scraper.Net
Assembly: Scraper.Net.dll
Syntax
public interface IPostProcessor

Methods

| Improve this Doc View Source

ProcessAsync(Post, String, CancellationToken)

Process a single post into one or more posts asynchronously

Declaration
IAsyncEnumerable<Post> ProcessAsync(Post post, string platform, CancellationToken ct = null)
Parameters
Type Name Description
Post post

A post to process

System.String platform

The platform of the post

CancellationToken ct

Cancellation token

Returns
Type Description
IAsyncEnumerable<Post>

Async-enumerable of processed posts

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX