keep_only()

Drops every event whose kind is not in kinds.

Usage

Source

keep_only(*kinds)