compileSegments
Stentor API Reference / stentor-response/src / compileSegments
Function: compileSegments()
Call Signatureβ
compileSegments(
responseOutput,segmentsMap,request,context):string
Defined in: packages/stentor-response/src/compileSegments.ts:84
Compile the response output with provided segments.
Parametersβ
responseOutputβ
string
segmentsMapβ
ResponseSegmentsMap
requestβ
contextβ
Returnsβ
string
Call Signatureβ
compileSegments(
responseOutput,segmentsMap,request,context):ResponseOutput
Defined in: packages/stentor-response/src/compileSegments.ts:90
Compile the response output with provided segments.
Parametersβ
responseOutputβ
segmentsMapβ
ResponseSegmentsMap