NK
Size: a a a
NK
H
H
NK
NK
NK
U
let file = http.get('http://test.ru/file.txt', function(response) {
return response 👈❓
})
AP
RR
U
let file = new Promise( resolve => {
http.get('http://test.ru/file.txt', function(response) {
resolve (response);
})
})
Выдаёт Promise { <pending> }AP
AP
U
IncomingMessage {
_readableState: ReadableState {
objectMode: false,
highWaterMark: 16384,
buffer: BufferList { head: [Object], tail: [Object], length: 1 },
length: 2331,
pipes: null,
pipesCount: 0,
flowing: null,
ended: false,
endEmitted: false,
reading: false,
sync: true,
needReadable: false,
emittedReadable: false,
readableListening: false,
resumeScheduled: false,
emitClose: true,
autoDestroy: false,
destroyed: false,
defaultEncoding: 'utf8',
awaitDrainWriters: null,
multiAwaitDrain: false,
readingMore: true,
EU
<div style="display: flex; flex-direction: row; min-height: 100px; max-height: 100px">
<div class="custom-debug" style="text-align: center; min-width: 100px; max-width: 100px">
<ui-icon size="4">{{get_project_icon(item)}}</ui-icon>
</div>
<div class="custom-debug" style="">
<div style="font-size: 24px; color: #134dab; font-weight: 700; letter-spacing: 1px">
{{item.rus_title}}
</div>
<div style="font-size: 18px; color: #999999; font-weight: 400; letter-spacing: 3px">
{{get_project_type(item)}}
</div>
</div>
</div>
j
AA
AA
IS
AA
IS