File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11** Technical Enhancements**
22
3+ * Added ` async ` keyword to ` ApiGatewayManagementProvider ` class, as appropriate.
34* Added ` async ` keyword to ` CloudWatchLogsProvider ` class, as appropriate.
45* Added ` async ` keyword to ` S3Provider ` class, as appropriate.
56* Added ` async ` keyword to ` SecretsManagerProvider ` class, as appropriate.
Original file line number Diff line number Diff line change @@ -44,9 +44,10 @@ module.exports = (() => {
4444 * functions.
4545 *
4646 * @public
47+ * @async
4748 * @returns {Promise<Boolean> }
4849 */
49- start ( ) {
50+ async start ( ) {
5051 if ( this . getIsDisposed ( ) ) {
5152 return Promise . reject ( 'Unable to start, the API Gateway provider has been disposed' ) ;
5253 }
@@ -78,11 +79,13 @@ module.exports = (() => {
7879 /**
7980 * Sends data to provided connection.
8081 *
82+ * @public
83+ * @async
8184 * @param {String } connectionId
8285 * @param {Buffer|String } data
8386 * @returns {Promise }
8487 */
85- postToConnection ( connectionId , data ) {
88+ async postToConnection ( connectionId , data ) {
8689 return Promise . resolve ( )
8790 . then ( ( ) => {
8891 assert . argumentIsRequired ( connectionId , 'connectionId' , String ) ;
You can’t perform that action at this time.
0 commit comments