async function addEventsHandler(entry, callback) {
  const serverId = await database.addToServer(entry);
  callback(serverId);
}
Handler for an addEvents message. Add an entry to the database.
@param {!LocalEntry} entry The entry to be added to the database.
@param {!Function} callback The callback passed in by the server to broadcast
the event.
@private