sendFrame method

void sendFrame(
  1. int connectionId,
  2. NativeFlatBufferFrame frame, {
  3. bool transfer = false,
})

Default sends retain the caller's frame. Transfer consumes it upon native submission, including runtime, serializer, connection and queue rejection.

Implementation

void sendFrame(
  int connectionId,
  NativeFlatBufferFrame frame, {
  bool transfer = false,
}) => _frameApi.send(connectionId, frame, transfer: transfer);