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
| Parameter | Type |
|---|---|
post | PostLayoutResponse |
environment | LayoutHandlerEnvironment |