-record(subscription, { 'receive' :: fun(() -> whisper:receive_result(any())), cancel :: fun(() -> nil) }).