NativeFrameAllocation extension

on

Properties

supportsFlatBufferFrames → bool

Available on NativeBufferAllocator, provided by the NativeFrameAllocation extension

no setter

Methods

composeFlatBufferFrame(NativeOwnedBuffer control, {NativeOwnedBuffer? arguments, NativeOwnedBuffer? argumentsKeywords, NativeOwnedBuffer? opaquePayload}) → NativeFlatBufferFrame

Available on NativeBufferAllocator, provided by the NativeFrameAllocation extension

Retain a control-only WAMP envelope and independently owned application buffers. Args/kwargs must be CBOR array/dictionary bytes; opaque payloads remain uninterpreted. All input buffers stay live on success and failure.
sendFrame(int connectionId, NativeFlatBufferFrame frame, {bool transfer = false}) → void

Available on NativeBufferAllocator, provided by the NativeFrameAllocation extension

Default sends retain the caller's frame. Transfer consumes it upon native submission, including runtime, serializer, connection and queue rejection.
sendFrameTracked(int connectionId, NativeFlatBufferFrame frame, {bool transfer = false}) → NativeWriteReceipt

Available on NativeBufferAllocator, provided by the NativeFrameAllocation extension