Discriminated union of all broker option arms.
The memory arm's broker is optional so that {} and undefined satisfy the union, keeping the factory's own = {} default and every bare call (MessagingPlugin(), MessagingPlugin({})) valid.
broker
{}
undefined
= {}
MessagingPlugin()
MessagingPlugin({})
0.1.0
Discriminated union of all broker option arms.
The memory arm's
brokeris optional so that{}andundefinedsatisfy the union, keeping the factory's own= {}default and every bare call (MessagingPlugin(),MessagingPlugin({})) valid.