block library

Classes

Block<OUPUT extends Object>
A block is a piece of code, wrapped inside an execute Function just like a command. It is a alias for Command so that it can parent concepts like logic, rule, sanitizer, etc.
BlockResponse<VALUE extends Object>
An optional wrapper for Block Output which can be used for chaining.
CompositeBlock<OUTPUT extends Object>
Provides a build method to compose blocks.
ContainerBlock<OUTPUT extends Object>
DynamicMultiChildBlock<OUTPUT extends Object>
FirstErrorlessBlock<OUTPUT extends Object>
Runs the first child that runs without an error.
MultiChildBlock<OUTPUT extends Object>
A block that can contain a list of children.
RunOneBlock<OUTPUT extends Object>
Runs only the first block that satisfies the condition.
SingleChildBlock<OUTPUT extends Object>
A block that can hold a child block.
TransformableCompositeBlock<OUTPUT extends Object, INTER_OUTPUT extends Object>

Typedefs

BlockBuilder<OUTPUT extends Object> = Block<OUTPUT> Function()
A builder that returns a block.
ParameterizedBlockBuilder<OUTPUT extends Object, INPUT extends Object> = Block<OUTPUT> Function(INPUT input)
A parameterized builder that returns a block.