allSettledallSettled<T>(unit: Event<T>, {scope: Scope, params?: T}): Promise<void>allSettled<T>(unit: Effect<T, Done, Fail>, {scope: Scope, params?: T}): Promise< | {status: 'done'; value: Done} | {status: 'fail'; value: Fail}>CopyCall provided unit in scope and wait for finishing all the triggered effects.Argumentsunit: Event or Effect to be calledscope: Scopeparams: params passed to unitnoteReturn value for effect is supported since effector 21.4.0