CompileOp

object CompileOp

The well-known symbolic identity of the ring-dispatched compile op.

A compiler node is simply a peer that registered this op (WarpNode.registerCompiler); every other peer knows only the name. Enqueue a compile task with descriptor — the task flows through the ordinary work queue, is claimed by the compiler node, and produces a gossiped variant, rather than requiring a direct imperative WarpNode.publishVariant call.

Properties

Link copied to clipboard
val ID: OpId

The OpId under which compiler nodes register the compile op.

Functions

Link copied to clipboard
fun descriptor(request: CompileRequest, compiler: PeerId, traceparent: String? = null): TaskDescriptor

Builds the TaskDescriptor that dispatches request to compiler over the ring.