WithJob
interface WithJob
Marks a class that it has a Job to start coroutines with.
Functions
Link copied to clipboard
Default error handler printing the error to console.
Properties
Inheritors
Extensions
Link copied to clipboard
fun <D, T, M> WithJob.storeOf(initialData: D, validation: Validation<D, T, M>, metadataDefault: T, job: Job = this.job, id: String = Id.next()): ValidatingStore<D, T, M>
Convenience function to create a simple ValidatingStore without any handlers, etc.
fun <D, M> WithJob.storeOf(initialData: D, validation: Validation<D, Unit, M>, job: Job = this.job, id: String = Id.next()): ValidatingStore<D, Unit, M>
Convenience function to create a simple ValidatingStore without any metadata and handlers.
Convenience function to create a simple Store without any handlers, etc.