make(Consumer::class, [ request()->param() ])->distribute(); })->then(function () { echo 'success'; },function (){ echo 'error'; }); });