Remove onReady callback from plugin

The onReady callback is no longer needed since the plugin no longer
schedules initial processing jobs during initialization.
This commit is contained in:
2025-09-14 20:25:59 +02:00
parent b8950932f3
commit f1f55d4444
2 changed files with 0 additions and 5 deletions

View File

@@ -107,10 +107,6 @@ export const mailingPlugin = (pluginConfig: MailingPluginConfig) => (config: Con
} as MailingContext
// Call onReady callback if provided
if (pluginConfig.onReady) {
await pluginConfig.onReady(payload)
}
if (pluginConfig.initOrder !== 'after' && config.onInit) {
await config.onInit(payload)

View File

@@ -76,7 +76,6 @@ export interface MailingPluginConfig {
templateEngine?: TemplateEngine
richTextEditor?: RichTextField['editor']
beforeSend?: BeforeSendHook
onReady?: (payload: any) => Promise<void>
initOrder?: 'before' | 'after'
}