Skip to content

Function: createLayoutHandler() ​

ts
function createLayoutHandler(post, environment?): LayoutHandler;

A handler that answers through post. It keeps the requests that are running, so one handler serves one connection (a worker's, or the client's fallback).

Parameters ​

ParameterType
postPostLayoutResponse
environmentLayoutHandlerEnvironment

Returns ​

LayoutHandler

Released under the MIT License.