Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

5
LINES

< > BotCompany Repo | #1027003 // drainStreamInNewThread - read to nirvana. closes stream

JavaX fragment (include)

svoid drainStreamInNewThread(InputStream in) {
  thread "Draining stream" {
    drainStream(in);
  }
}

Author comment

Began life as a copy of #1027002

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027003
Snippet name: drainStreamInNewThread - read to nirvana. closes stream
Eternal ID of this version: #1027003/1
Text MD5: 20201b7df26daaae3c42545dc4254284
Author: stefan
Category: javax / io
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-06 14:45:34
Source code size: 106 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 125 / 178
Referenced in: [show references]