![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
This Parse Stack plugin adds support for background saves and deletes, similar to the use of saveInBackground
and saveEventually
in other Parse Server SDKs. It utilizes SuckerPunch to perform the asynchronous processing of the API operation in a separate queue.
Add this line to your application's Gemfile:
gem 'parse-stack-async'
And then execute:
$ bundle
Or install it yourself as:
$ gem install parse-stack-async
This plugin for Parse Stack allows you to save and delete objects in an asynchronous manner, without blocking the main thread of an application. This is useful when saving objects in a web application like Rails.
This plugin adds two methods to all Parse::Object
subclasses: save_eventually
and destroy_eventually
, which mimic the same API in the mobile SDKs for Parse. These take an optional block that will provide you information whether it was successful in performing the corresponding operation.
require 'parse/stack'
require 'parse/stack/async'
object = Parse::User.first # get a user
object.username = 'newUserName'
# saves object in a background thread.
object.save_eventually do |success|
puts "Successfully saved in Parse!" if success
end
# Or delete asynchronously
anotherObject.destroy_eventually do |success|
puts "Deleted object from Parse!" if success
end
Bug reports and pull requests are welcome on GitHub at https://github.com/modernistik/parse-stack-async.
The gem is available as open source under the terms of the MIT License.
FAQs
Unknown package
We found that parse-stack-async demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.