feat(#15): initial support for passing functions to workers