Function sendAllWithAwarenessProtocol

Source
sendAllWithAwarenessProtocol(): Protocol<UpdateItem | AwarenessItem>

A protocol that also sends awareness information with the webxdc update.

It's not using realtime at all.

Note: do not use this in production - the yjs awareness system updates at least every 15 seconds and this is going to be added to the permanent webxdc update log, even if you don't do anything with awareness. This is primarily useful for testing.