:- use_module(library(http/hub)). [det]hub_create(+Name, 
-Hub, +Options)
[det]hub_create(+Name, 
-Hub, +Options). namequeues . eventthread(s) can listen.After creating a hub, the application normally creates a thread that listens to Hub.queues.event and exposes some mechanisms to establish websockets and add them to the hub using hub_add/3.