How do i use @solana/pay in a worker?

Is there a way to get this to work in a worker? I believe it depends on node.
Was this page helpful?