Public worker api so this module is useful for tests too

Should have a 'catch' here?