egative and less than Integer.MAX_VALUE milliseconds</p></div><div class="content sourceset-dependent-content" data-togglable=":couchbase-lite-ee/jvmCommonMain"><div class="symbol monospace"><span class="token keyword">actual </span><span class="token keyword">fun </span><a href="set-heartbeat.html"><span class="token function">setHeartbeat</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">heartbeat<span class="token operator">: </span><a href="https://kotl