From 5d83ccf75a7488cc6b24aef4406ebfe1063627c5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Belin?= Date: Thu, 14 Nov 2024 23:28:56 +0100 Subject: [PATCH] Update the typings --- lib/fast_transformer.d.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/fast_transformer.d.ts b/lib/fast_transformer.d.ts index e63b30e..8dd784a 100644 --- a/lib/fast_transformer.d.ts +++ b/lib/fast_transformer.d.ts @@ -17,6 +17,12 @@ export class FastTransformer implements Transformer { */ close(): Promise; + /** + * Starts the underlying PHP process and begins accepting connections. + * @returns The TCP port used by the PHP process. + */ + listen(): Promise; + /** * Processes a PHP script. * @param file The path to the PHP script.