     @worker.postMessage
       message: 'finalize'
 
-  ping: =>
+  ping: (data) =>
     @worker.postMessage
       message: 'ping'
-      data: @current.data
+      data: data
 
   destroy: =>
     @worker.terminate()

  finalize: (params) ->
    throw new Error "Not implemented!"

  ping: ->
    throw new Error "Not implemented!"

  destroy: ->

      return

    if @current.message is 'ping'
      @ping @current.data
     return

    assert.equal @current.message, 'update'
