register

Registers a generator factory manually.

Parameters

factory

factory to register

Throws

if ID already registered