Skip to content

Commit

Permalink
Merge pull request neon-bindings#29 from ea2973929/fibonacci-async-task
Browse files Browse the repository at this point in the history
Changed name to fibonacci-async-task
  • Loading branch information
amilajack committed Mar 15, 2019
2 parents d2a3f46 + 00cf1f8 commit d34c8dc
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -18,7 +18,7 @@
| 10.| [errors](https://github.com/neon-bindings/examples/tree/master/errors) | Creating and throwing errors |
| 11.| [async](https://github.com/neon-bindings/examples/tree/master/async) | Creating and scheduling async background tasks in Node's thread pool |
| 12.| [thread count](https://github.com/neon-bindings/examples/tree/master/thread-count) | Expose the `num_cups` Rust library to JS |
| 13.| [fibonacci task](https://github.com/neon-bindings/examples/tree/master/fibonacci-task) | Computing the nth fibonacci number in Rust and passing the result to JS |
| 13.| [fibonacci async task](https://github.com/neon-bindings/examples/tree/master/fibonacci-async-task) | Computing the nth fibonacci number in Rust and passing the result to JS |
| 14.| [word counting](https://github.com/neon-bindings/examples/tree/master/word-counting) | A word counting demo in Rust and JS with benchmarks |
| 15.| [sharing binary data](https://github.com/neon-bindings/examples/tree/master/sharing-binary-data) | Handling binary data passed from Node to Rust |
| 16.| [electron app](https://github.com/neon-bindings/examples/tree/master/electron-app) | A simple electron app using Neon modules |
Expand Down
4 changes: 2 additions & 2 deletions __test__/__snapshots__/index.spec.js.snap
Expand Up @@ -79,9 +79,9 @@ Object {
}
`;

exports[`tests should run fibonacci-task 1`] = `"55"`;
exports[`tests should run fibonacci-async-task 1`] = `"55"`;

exports[`tests should run fibonacci-task 2`] = `"55"`;
exports[`tests should run fibonacci-async-task 2`] = `"55"`;

exports[`tests should run functions 1`] = `undefined`;

Expand Down
2 changes: 1 addition & 1 deletion __test__/index.spec.js
Expand Up @@ -5,7 +5,7 @@ const arrays = require('../arrays');
const objects = require('../objects');
const args = require('../arguments');
const functions = require('../functions');
const fibonacciTask = require('../fibonacci-task');
const fibonacciTask = require('../fibonacci-async-task');
const sharingBinaryData = require('../sharing-binary-data');
const json = require('../json');
const classes = require('../classes');
Expand Down
@@ -1,3 +1,3 @@
# fibonacci-task
# fibonacci-async-task

An example using Neon's `Task` API.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

@@ -1,10 +1,10 @@
[package]
name = "neon-fibonacci-task"
name = "neon-fibonacci-async-task"
version = "0.1.0"
build = "build.rs"

[lib]
name = "neon_fibonacci_task"
name = "neon_fibonacci_async_task"
crate-type = ["dylib"]

[build-dependencies]
Expand Down
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

@@ -1,5 +1,5 @@
{
"name": "fibonacci-task",
"name": "fibonacci-async-task",
"version": "0.1.0",
"main": "lib/index.js",
"dependencies": {
Expand Down

0 comments on commit d34c8dc

Please sign in to comment.