AcpV2AgentNotificationHandler<P> typedef

AcpV2AgentNotificationHandler<P> = FutureOr<void> Function(AcpV2AgentNotificationContext<P> context)

Handles a typed notification received by a v2 agent.

Implementation

typedef AcpV2AgentNotificationHandler<P> =
    FutureOr<void> Function(AcpV2AgentNotificationContext<P> context);