import { Collector } from "https://deno.land/x/harmony@v2.6.0/src/client/mod.ts";
Constructors
new
Collector(options: CollectorOptions | string)Properties
Methods
Checks we may want to perform on an extended version of Collector
collect(): this
Start collecting
each(handler: CallableFunction): this
Add a new listener for 'collect' event
end(): this
End collecting
reset(): this
Reset collector and start again
wait(timeout?: number): Promise<this>
Returns a Promise resolved when Collector ends or a timeout occurs
when(filter: CollectorFilter): this
Set filter of the Collector