(feat) Added next as a way to make actions asynchronous.