UNPKG

diffusion

Version:

Diffusion JavaScript client

16 lines (15 loc) 399 B
"use strict"; /** * @module Services.TopicUpdate */ Object.defineProperty(exports, "__esModule", { value: true }); exports.write = void 0; var Codec = require("./../../io/codec"); /** * Write a {@link Locked} update constraint to the stream */ function write(bos, value) { Codec.writeString(bos, value.getLockName()); Codec.writeInt64(bos, value.getSequence()); } exports.write = write;