pop

private fun pop(reservedRawJobMessage: String?, jobParamWithRaw: (String) -> JobParam): JobRequest?

Pops and parse a queued job to a JobRequest

Parameters

reservedRawJobMessage

original job message as raw string

jobParamWithRaw

lambda that specifies what JobParam should parse, given non-null reservedRawJobMessage as input