Package-level declarations

Types

Link copied to clipboard
sealed interface BasicTag<out T> : OutputTag<T> , InputTag<T>

A tag for some resource, that can be identified by both backward and forward walk through the network.

Link copied to clipboard
sealed interface InputTag<out T>

A tag for some identifiable resource that can be identified by following PullInputChannel (backward walk)

Link copied to clipboard
sealed interface MutableBasicTag<T> : BasicTag<T>

A basic tag that can be bound to the resource later after creation.

Link copied to clipboard
sealed interface OutputTag<out T>

A tag for some identifiable resource that can be identified by following PushOutputChannel (forward walk)

Functions

Link copied to clipboard
fun <T> newDynamicInputTag(supplier: (PullInputChannel<*>) -> T): InputTag<T>

Returns the InputTag associated with the resource identified.

Link copied to clipboard
fun <T> newDynamicOutputTag(supplier: (PushOutputChannel<*>) -> T): OutputTag<T>

Returns the OutputTag associated with the resource identified.

Link copied to clipboard

Returns a MutableBasicTag instance

fun <T> newTag(value: T): BasicTag<T>

Returns a BasicTag instance