Contents

SushiEngine::EventBus::IBus

publish

virtual void publish(ChannelHandle channel, const void *event, const EventOrderKey &key) noexcept=0

Parameters

NameType
channelChannelHandle
eventconst void *
keyconst EventOrderKey &

Description

Appends one event to the channel for the next drain of each phase.

Precondition

event points at the channel's registered size in bytes.