<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":dokkaHtml/commonMain"><divclass="symbol monospace"><spanclass="token keyword"></span><spanclass="token keyword">fun </span><ahref="include.html"><spanclass="token function">include</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">kronScheduler<spanclass="token operator">: </span><ahref="../../dev.inmo.krontab/-kron-scheduler/index.html">KronScheduler</a></span></span><spanclass="token punctuation">)</span><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/InsanusMokrassar/krontab/blob/master//src/commonMain/kotlin/dev/inmo/krontab/collection/CollectionKronScheduler.kt#L25">source</a>)</span></span></div><pclass="paragraph">Add <ahref="include.html">kronScheduler</a> into its <spandata-unresolved-link="dev.inmo.krontab.collection/CollectionKronScheduler/schedulers/#/PointingToDeclaration/">schedulers</span> list</p><ul><li><pclass="paragraph">When <ahref="include.html">kronScheduler</a> is <spandata-unresolved-link="dev.inmo.krontab.internal/CronDateTimeScheduler///PointingToDeclaration/">CronDateTimeScheduler</span> it will merge all <spandata-unresolved-link="dev.inmo.krontab.internal/CronDateTimeScheduler///PointingToDeclaration/">CronDateTimeScheduler</span>s from <spandata-unresolved-link="dev.inmo.krontab.collection/CollectionKronScheduler/schedulers/#/PointingToDeclaration/">schedulers</span> list and this <ahref="include.html">kronScheduler</a> using <spandata-unresolved-link="dev.inmo.krontab.internal//mergeCronDateTimeSchedulers/#kotlin.collections.List[dev.inmo.krontab.internal.CronDateTimeScheduler]/PointingToDeclaration/">mergeCronDateTimeSchedulers</span> function</p></li><li><pclass="paragraph">When <ahref="include.html">kronScheduler</a> is <ahref="index.html">CollectionKronScheduler</a> it this instance will include all <spandata-unresolved-link="dev.inmo.krontab.collection/CollectionKronScheduler/schedulers/#/PointingToDeclaration/">kronScheduler</span></p></li><li><pclass="paragraph">Otherwise <ahref="include.html">kronScheduler</a> will be added to <spandata-unresolved-link="dev.inmo.krontab.collection/CollectionKronScheduler/schedulers/#/PointingToDeclaration/">schedulers</span> list</p></li></ul></div></div>