Improve readability a little
This commit is contained in:
		
							parent
							
								
									3e897727ca
								
							
						
					
					
						commit
						10af684804
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		| 
						 | 
					@ -182,6 +182,7 @@ export default class Connection {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	/**
 | 
						/**
 | 
				
			||||||
	 * チャンネルから切断
 | 
						 * チャンネルから切断
 | 
				
			||||||
 | 
						 * @param id チャンネルコネクションID
 | 
				
			||||||
	 */
 | 
						 */
 | 
				
			||||||
	@autobind
 | 
						@autobind
 | 
				
			||||||
	private disconnectChannel(id: string) {
 | 
						private disconnectChannel(id: string) {
 | 
				
			||||||
| 
						 | 
					@ -193,6 +194,10 @@ export default class Connection {
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
						/**
 | 
				
			||||||
 | 
						 * チャンネルへメッセージ送信要求時
 | 
				
			||||||
 | 
						 * @param data メッセージ
 | 
				
			||||||
 | 
						 */
 | 
				
			||||||
	@autobind
 | 
						@autobind
 | 
				
			||||||
	private onChannelMessageRequested(data: any) {
 | 
						private onChannelMessageRequested(data: any) {
 | 
				
			||||||
		const channel = this.channels.find(c => c.id === data.id);
 | 
							const channel = this.channels.find(c => c.id === data.id);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue