Skip to main content

Function: codeFeaturesEnabledBy()

codeFeaturesEnabledBy(enabled): string[]

The bundle features (C-FEATURES, code.features names) a command gate's flags enable, sorted: a feature is enabled when its flag (CODE_FEATURE_FLAGS) is on, and a flag is on when the gate holds a command feature it enables (fluidgrids.run-control for c.updates, fluidgrids.durable-parity for a parity feature outside the core set). Release levels enable none. It is what a lease sends as WorkflowTaskRequest.features.

Parameters​

enabled​

CommandGate

Returns​

string[]