intentTimeoutDecorator
inline fun <S : MVIState, I : MVIIntent, A : MVIAction> intentTimeoutDecorator(timeout: Duration, name: String? = "IntentTimeout", crossinline onTimeout: suspend PipelineContext<S, I, A>.(I) -> I? = { throw StoreTimeoutException(timeout) }): PluginDecorator<S, I, A>
Creates a new decorator that runs each StorePlugin.onIntent through a time-out block.
If the request did not complete within the timeout, then onTimeout is called, which by default throws a StoreTimeoutException.