Event source : trigger snapshot on command

Hi,

Is there a way to trigger a snapshot on event source behavior , on receiving a command ?

Thanks.