BEFORE_APP_SERIALIZED
在将当前平台状态渲染为字符串之前,调用 renderModuleFactory 或 renderModule 时要执行的函数。
A function that will be executed when calling renderModuleFactory or renderModule just before current platform state is rendered to string.
const BEFORE_APP_SERIALIZED: InjectionToken<(() => void | Promise<void>)[]>;