I want to execute a custom jQuery function after another custom function completes The first function is used for creating a \"typewriting\" effect
func
You can use below code
$.when( Typer() ).done(function() { playBGM(); });