Skip to content

Commit

Permalink
LockGrantedCallback arg should be nullable. Fixes #51
Browse files Browse the repository at this point in the history
  • Loading branch information
inexorabletash committed Oct 22, 2018
1 parent 00ce6f4 commit 883025d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ interface LockManager {
Promise<LockManagerSnapshot> query();
};

callback LockGrantedCallback = Promise<any> (Lock lock);
callback LockGrantedCallback = Promise<any> (Lock? lock);

enum LockMode { "shared", "exclusive" };

Expand Down

0 comments on commit 883025d

Please sign in to comment.