Companion

object Companion

Properties

Link copied to clipboard
private val lookupTable: Map<String, Pair<Job<out Payload>, KClass<out Payload>>>
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun parse(message: String): Result<Pair<String, Payload>>

Parses from a String representation of JobMessage to a JobMessage type then parse String JobMessage.payload to the Payload of JobMessage.job

Link copied to clipboard

Parses from JobMessage to pair of topicName and payload

Link copied to clipboard

Retrieve the Job object and Payload type from lookupTable