Skip to content

frontend / entities/blocks/httpBlocks / initHttpBlocks

Function: initHttpBlocks() ​

initHttpBlocks(generator, mode): void

Defined in: entities/blocks/httpBlocks.ts:19

Registers Python generators for HTTP blocks on given generator instance.

Parameters ​

generator ​

PythonGenerator

Python generator which will get new block handlers.

mode ​

"display" | "execution"

Current mode of generator. Not used right now.

Returns ​

void