Core APIthreadingThreadingOn this pageThreading Thread management related functionality. Functions spawn function spawn(generator: () => Generator): void; Creates a new generator thread. Related Links Flow