wx events
此内容尚不支持你的语言。
Read account events or watch for new events
| Argument or flag | Takes | What it does |
|---|---|---|
--after | takes <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 |
--watch | switch | Keep printing new events as they arrive instead of listing once |
wx events ack
Save a consumer’s progress through an event cursor
| Argument or flag | Takes | What it does |
|---|---|---|
--consumer | required, takes <CONSUMER> | Name of the consumer whose progress is being saved |
--through | required, 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 flag | Takes | What it does |
|---|---|---|
--after | takes <AFTER> | Start after this event cursor, such as the last one you processed. Without it, the most recent events are shown |
--limit | takes <LIMIT>, default 100 | Return at most this many events |
wx events watch
Stream new events, optionally saving a resume cursor
| Argument or flag | Takes | What it does |
|---|---|---|
--after | takes <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-file | takes <CURSOR_FILE> | Save the last event cursor to this private file and resume from it next time |