linkcall

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: MIT Imports: 6 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package linkcall contains the linkCall node implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LinkCallConfig

type LinkCallConfig struct {
	// Link is the id of the target linkIn node (linkType "static")
	Link string `json:"link"`
	// LinkType is "static" (configured link) or "dynamic" (target taken
	// from the message's target metadata)
	LinkType string `json:"linkType"`
	// Timeout in seconds to await the linkOut return (default 30)
	Timeout float64 `json:"timeout"`
}

LinkCallConfig holds configuration for the linkCall node

type LinkCallNode

type LinkCallNode struct {
	*nodebase.BaseNode
	// contains filtered or unexported fields
}

LinkCallNode injects the message into a target linkIn and awaits the matching linkOut(return), implementing RPC-style request/response.

func NewLinkCallNode

func NewLinkCallNode(node nodestore.NodeInterface, config *LinkCallConfig, host nodebase.NodeHost) *LinkCallNode

NewLinkCallNode creates a new linkCall node

func (*LinkCallNode) Execute

Execute resolves the target linkIn, pushes this node onto the link call stack, injects the message and waits for the linkOut return. The returned payload becomes this node's output.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL