Plugins

Covers Engine Plugin SDK 2.0.0 · Interface Plugin SDK 0.2.0

FixedChannelHandle

Stable retained address of a fixed RAPID channel.

Retain the returned handle in task instance state and reuse it in callbacks.

Declaration

struct FixedChannelHandle {
        uint32_t slot = 0;
        uint64_t binding_generation = 0;
        std::shared_ptr<const std::string> channel;
        const void* owner = nullptr;

        [[nodiscard]] bool valid() const noexcept {
            return binding_generation != 0 && channel && owner;
        }
    };