www.webOShelp.net

Get the latest on:webOS Developers' RSS FeedwebOS Facebook page webOS Twitter Feed

Home Resources API Reference Mojo.Depot.discard(key, onSuccess, onFailure)

Mojo.Depot.discard(key, onSuccess, onFailure)

Function to remove an object identified by key from the depot. The default bucket is used.

Parameters Type Description
key String Key to identify object to be removed from the depot.
onSuccess Function Function called if the object is successfully removed
onFailure Function Function called if an error occurs and the object is not removed from the depot.  Passed an error string.
 

0 Comments

    Add Comment


      • >:o
      • :-[
      • :'(
      • :-(
      • :-D
      • :-*
      • :-)
      • :P
      • :\
      • 8-)
      • ;-)