abstract fun <T> send(value: T)(source)

Streams an object to the client application.

The client application can receive objects sent using this method by registering a StreamedValueListener. The client application receives objects in the order they were sent, and before it receives the result of the BuildAction.

This method sends the object asynchronously and does not block until the client application has received the object.

The build action will fail if the client application did not register a listener to receive the streamed objects.