   finalize: (params) ->
     throw new Error "Not implemented!"
 
-  ping: ->
+  ping: (data) ->
     throw new Error "Not implemented!"
 
   destroy: ->

      return

    if @current.message is 'ping'
      @ping()
     return

    assert.equal @current.message, 'update'

    @worker.postMessage
      message: 'finalize'

  ping: (data) =>
    @worker.postMessage
      message: 'ping'
      data: data

  destroy: =>
    @worker.terminate()
