Make resumeHook() accept a Hook object or string
#773
Merged
resumeHook() accept a Hook object or string
#773