Skip to content

wx events

Read account events or watch for new events

Argument or flagTakesWhat it does
--aftertakes <AFTER>Start after this event cursor, such as the last one you processed. Without it, a listing shows the most recent events and —watch starts from the newest event
--watchswitchKeep printing new events as they arrive instead of listing once

wx events ack

Save a consumer’s progress through an event cursor

Argument or flagTakesWhat it does
--consumerrequired, takes <CONSUMER>Name of the consumer whose progress is being saved
--throughrequired, takes <THROUGH>Cursor of the last event this consumer has finished handling

wx events list

Read events after a cursor, or the most recent events

Argument or flagTakesWhat it does
--aftertakes <AFTER>Start after this event cursor, such as the last one you processed. Without it, the most recent events are shown
--limittakes <LIMIT>, default 100Return at most this many events

wx events watch

Stream new events, optionally saving a resume cursor

Argument or flagTakesWhat it does
--aftertakes <AFTER>Start after this event cursor, such as the last one you processed. Without it, the watch resumes from —cursor-file or starts from the newest event
--cursor-filetakes <CURSOR_FILE>Save the last event cursor to this private file and resume from it next time