hub
1.0.0-Alpha4-dev10
jvm
hub-server-workhorse
/
org.msensis.imahub.workhorse.api.util
Package-level
declarations
Functions
Functions
require
Non
Empty
Stream
Link copied to clipboard
fun
<
T
>
requireNonEmptyStream
(
stream
:
Flow
<
T
>
)
:
Flow
<
T
>
Throws
IllegalArgumentException
if the stream is empty.
to
Hub
Payload
Link copied to clipboard
inline
fun
<
T
:
Any
>
T
.
toHubPayload
(
)
:
HubPayload
<
T
>