nanCallback and worker must be pointers