AccountsEvent

org.sigilaris.core.application.feature.accounts.domain.AccountsBranding$package.AccountsEvent

Companion for AccountsEvent, providing construction and extraction.

Attributes

Source
AccountsBranding.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

inline def apply[A](value: A): AccountsEvent[A]

Wraps a value as an accounts-branded event.

Wraps a value as an accounts-branded event.

Type parameters

A

the underlying event type

Value parameters

value

the event payload

Attributes

Returns

the branded event

Source
AccountsBranding.scala

Inherited methods

inline protected def unwrap[A](value: A): A

Attributes

Inherited from:
ModuleBrandingCompanion
Source
ModuleBrandingCompanion.scala
inline protected def wrap[A](value: A): A

Attributes

Inherited from:
ModuleBrandingCompanion
Source
ModuleBrandingCompanion.scala

Extensions

Extensions

extension [A](event: AccountsEvent[A])
inline def value: A

Extracts the underlying event payload.

Extracts the underlying event payload.

Attributes

Returns

the unwrapped event value

Source
AccountsBranding.scala