Revert "[Gardening] Rewrite Transistor.notify with pattern matching"

This reverts commit 151b420347eb9a8134e5ed0e5ec963d96a4cd966.