ParallelWordpress class final

ParallelWordpress is a class that uses a WordpressClient to fetch data from a WordPress site. It provides a method to fetch a list of items in parallel, which can significantly speed up the fetching process.

Constructors

ParallelWordpress({required WordpressClient client})
Constructs a ParallelWordpress instance.
const

Properties

client WordpressClient
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

list<T, R extends IRequest>({required RequestBuilder<R> requestBuilder, required ListOperation<T, R> interface, ParallelResultTransformer<T>? transformer, ParallelExceptionHandler<T>? onException, ParallelInitialItems<T>? initial}) Future<Iterable<ParallelResult<T>>>
Fetches a list of items of type T in parallel.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited