Subjects API
Traits
Rocket.SubjectTrait
— TypeAbstract type for all possible subject traits
See also: ValidSubjectTrait
, InvalidSubjectTrait
, as_subject
Rocket.as_subject
— Functionas_subject(::Type)
This function checks subject trait behavior specification. Should be used explicitly to specify subject trait behavior for any object type.
See also: SubjectTrait
Rocket.ValidSubjectTrait
— TypeValid subject trait behavior
See also: SubjectTrait
Rocket.InvalidSubjectTrait
— TypeDefault subject trait behavior for all types.
See also: SubjectTrait
Rocket.AbstractSubject
— TypeSupertype for Subject types. Automatically specifies ValidSubject
, SimpleSubscribableTrait
and BaseActorTrait
traits.
See also: Subject
, ValidSubjectTrait
, SimpleSubscribableTrait
, BaseActorTrait
Factory
Rocket.AbstractSubjectFactory
— TypeAbstract type for all possible subject factories
See also: SubjectTrait
, ValidSubjectTrait
, InvalidSubjectTrait
Rocket.create_subject
— Functioncreate_subject(::Type{L}, factory::F) where L where { F <: AbstractSubjectFactory }
Actor creator function for a given factory F
. Should be implemented explicitly for any AbstractActorFactory
object
See also: AbstractSubjectFactory
, MissingCreateActorFactoryImplementationError
Errors
Rocket.InvalidSubjectTraitUsageError
— TypeInvalidSubject usage error
See also: as_subject
Rocket.InconsistentSubjectDataTypesError
— TypeInconsistentSubjectDataTypesError
See also: as_subject