# WeakEventSubscriberHandler

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/utilities/type_alias-weakeventsubscriberhandler/

**type alias** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
type WeakEventSubscriberHandler<A> = dyn Fn(Option<&'s dyn Any>, &'v dyn Any, &'r <A as WeakEventArgs>::Args<'a>) -> ()
```

The signature of a handler of `WeakEventSubscriber::event` and of the
dispatch function of a [`TargetWeakEventSubscriber`](/docs/0.5.0/api/ferroui-base/utilities/struct-targetweakeventsubscriber/) (after its target).

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/utilities/i_weak_event_subscriber.rs#L18)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
