Durable workers patterns - pubsub

Hi!

Are there any guides to follow for acheiving patterns like pubsub using durable workers?

Thanks!