PortBlueSky / thread-puddle

A library to pool Node.js worker threads, automatically exposing exported module methods using Proxy Objects. :rocket:
15 stars 3 forks source link

Thanks great work! #2

Closed sirlordt closed 3 years ago

sirlordt commented 4 years ago

Hey thanks great work!.

You had plan to support typescript?

kommander commented 4 years ago

Thanks, yes, many plans :) Little time. Would be happy to support it. Do you know how one could forward the types of the dynamically imported worker to the proxy object, so the compiler and editor know what types are exported from a worker? Haven't had time to figure that out yet.

kommander commented 4 years ago

@sirlordt Startet typescript support, works fine so far: #4