Create callback api from synchronous function. Same as `make-callback`, but won't handle generators and if async function is given returns it.