import { Collector } from "https://deno.land/x/harmony@v2.9.1/src/client/mod.ts";
Properties
collected: Collection<string, T>
Methods
Checks we may want to perform on an extended version of Collector
collect(): this
Start collecting
deinit(client: Client): this
De initialize the Collector i.e. remove cleanly
each(handler: CallableFunction): this
Add a new listener for 'collect' event
end(): this
End collecting
init(client: Client): this
Init the Collector on Client
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