cascade

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateNextNodes

func CalculateNextNodes(data core.Cascade, currentNode *core.RecordRef) (nextNodeIds []core.RecordRef, err error)

CalculateNextNodes get nodes of the next cascade layer from the input nodes slice

Types

type Cascade

type Cascade struct {
	SendMessage func(data core.Cascade, method string, args [][]byte) error
}

Cascade is struct to hold callback that sends cascade messages to next layers of cascade

func (*Cascade) SendToNextLayer

func (casc *Cascade) SendToNextLayer(data core.Cascade, method string, args [][]byte) error

SendToNextLayer sends data to callback.

Jump to

Keyboard shortcuts

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