add timestamp to prepare method
This commit is contained in:
parent
f595a5932a
commit
22ee13e641
2 changed files with 3 additions and 0 deletions
Binary file not shown.
|
|
@ -52,10 +52,13 @@ export default class BatchWriter {
|
|||
this.url,
|
||||
]
|
||||
|
||||
const timestamp: Messages.Timestamp = [Messages.Type.Timestamp, this.timestamp]
|
||||
|
||||
const tabData: Messages.TabData = [Messages.Type.TabData, this.tabId]
|
||||
|
||||
this.writeType(batchMetadata)
|
||||
this.writeFields(batchMetadata)
|
||||
this.writeWithSize(timestamp as Message)
|
||||
this.writeWithSize(tabData as Message)
|
||||
this.isEmpty = true
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue