onStart

open suspend fun PipelineContext<S, I, A>.onStart()

A callback that is invoked each time the Store.start is called.

  • Execute any operations using PipelineContext.

  • You can prevent the launching of the store by calling PipelineContext.close, but this will not throw an exception, the store will just not work.

  • Plugins that use onSubscribe will also not get their events until this is run.