 throttle = require '../utils/throttle'
 
-### ---------------------------------------------------------------------------
+###
 
 Recommended data structure
 

   * - [duration] (int) : how long to wait between writes
  ###

  constructor: (attrs, duration=5000) ->
    @_load attrs if attrs
    @_write = throttle @_write, duration


  ###
   * Wipe the data contained in a user
  ###

  wipe: ->
    @data 'task', {}
    @data 'list', {}
