werkbank
    Preparing search index...

    Function setupPort

    • Sets up the communication port for a connected client.

      Type Parameters

      Parameters

      • event: MessageEvent

        The connection event (MessageEvent).

      • config: C

        The worker configuration.

      Returns Observable<Event<unknown>>

      This function initializes the message stream for a specific port and sets up the request handling logic.