Skip to content

Commit

Permalink
Add missing space
Browse files Browse the repository at this point in the history
  • Loading branch information
bermudezmt authored Aug 9, 2019
1 parent 6764018 commit aafd6c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/docs/reference/programming-model.md
Original file line number Diff line number Diff line change
Expand Up @@ -1724,7 +1724,7 @@ bucket.onObjectCreated("onObject", async (ev: aws.s3.BucketEvent) => {
// See https://github.com/pulumi/pulumi/issues/1614.
```
Libraries which use JavaScript callbacks as inputs to be provided as source text to resource construction---like the Lambda that is created by the `onObjectCreated` function in the previous example---are built on top of the [pulumi.runtime.serializeFunction] API, which takes aJavaScript `Function` object as input, and returns a `Promise` containing the serialized form of that function.
Libraries which use JavaScript callbacks as inputs to be provided as source text to resource construction---like the Lambda that is created by the `onObjectCreated` function in the previous example---are built on top of the [pulumi.runtime.serializeFunction] API, which takes a JavaScript `Function` object as input, and returns a `Promise` containing the serialized form of that function.
When serializing a function to text, the following steps are taken:
Expand Down

0 comments on commit aafd6c7

Please sign in to comment.