UNPKG

comctx

Version:

Cross-context RPC solution with type safety and flexible adapters.

8 lines (5 loc) 242 B
import { ProvideAdapter } from './service/adapter' import { provideCounter } from './service/counter' // Create the buffer provider service in the worker provideCounter(new ProvideAdapter(), 0) console.log('Buffer provider worker started')