create
Creates a queue in the system with the specified configuration.
This method ensures the creation of a queue, considering its name, whether it should be unlogged, and whether notifications for insert events are enabled. If a queue with an identical name already exists, it validates its compatibility with the current configuration.
Return
A Result containing Unit on successful creation of the queue, or an error if the operation fails.
Parameters
queue
The configuration of the queue to be created, including its name, unlogged flag, and whether to enable notifications for inserts.