createProvider(config: MailChannelConfig,ctx?: IPluginContext): IMailer
Creates the transport for a channel configuration.
For 'mail', resolves IMailer from the context service registry. For
'twilio', 'fcm', and 'slack', constructs the corresponding HTTP provider
from the config's options, which each provider validates.
The overloads bind each config arm to the transport port it produces, so a caller never has to narrow or cast the result.
config: MailChannelConfig
The channel configuration
createProvider(config: TwilioChannelConfig): SmsTransport
config: TwilioChannelConfig
createProvider(config: FcmChannelConfig,ctx?: IPluginContext): PushTransport
config: FcmChannelConfig
createProvider(config: SlackChannelConfig): SlackTransport
config: SlackChannelConfig
createProvider(config: ChannelConfig,ctx?: IPluginContext): NotificationTransport
config: ChannelConfig