Sends a CAEP event a protocol family observed about something that is not a
sign-on session, such as a revoked GNAP grant. The caller builds the
subject; the payload and the streams are chosen here.
Parameters
Optionalasked: any
protocol, type (the CAEP event type), subject,
values, initiatingEntity and the reasons
Returns Promise<EmitResult>
a promise of { sent, streams }, with why when nothing was
sent; it never rejects
Sends a CAEP event a protocol family observed about something that is not a sign-on session, such as a revoked GNAP grant. The caller builds the subject; the payload and the streams are chosen here.