> Same here; if func is not a function, addOnceCallback should throw an error.

Done.